WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

[Xen-API] Accessing xentore data created by VM.add_to_xenstore_data

To: xen-api <xen-api@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-API] Accessing xentore data created by VM.add_to_xenstore_data
From: Marco Sinhoreli <msinhore@xxxxxxxxx>
Date: Wed, 13 Jul 2011 17:04:04 -0300
Delivery-date: Wed, 13 Jul 2011 13:04:45 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=w17+7FnIcUuAzKKoYeDrHzmHT3QhvhXJIR+9tcI2jWo=; b=HdtU9OMW/2Wap82vxLmiuF3s1SUiJ6sIAhnvZtbFqcW0aEIGuy+9wRyB/PzcEidZ50 W+E+pua7lmdkLnC6exMsxnXa4B9ylqlam8E5BUX4H1wvaDqS+JR7zb0f7gaswgOh/pwk tw1+R2Wd7LeY81nfsYdKwYqm2GLFNF4E7rqrE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Hello all:

I'm trying to access the data stored in xenstore using the xenapi and
it isn't available to read into VM. In VM creation, I used:
VM.add_to_xenstore_data(vm_ref, 'key', 'value')

Consulting the xenstore-data in cli return this:
xe vm-param-get param-name=xenstore-data
uuid=723831a7-b9f6-f3ff-f4df-7462e3a9c8e5
key: value

Where is the path to access this data into VM?

Cheers,


-- 
Marco Sinhoreli

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api