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-devel

[Xen-devel] Write a key-value pair to xenstore using the libxl

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Write a key-value pair to xenstore using the libxl
From: zhikai <gbtux@xxxxxxx>
Date: Wed, 6 Jul 2011 15:42:23 +0800 (CST)
Delivery-date: Wed, 06 Jul 2011 00:43:23 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=126.com; s=s110527; h=Received:Date:From:To:Message-ID:Subject: MIME-Version:Content-Type; bh=SfnAPqfzLLKoCFf841Uw5lvvrEIHXYAHJN ILj1K1wjM=; b=ct3at3HnLU2yOxONpVhEs/JDVHPEC65UYSnhgvpxMRH65eCoOQ 6fL1HhfakPr94HGeRyO24LFbakK2v/cP5emNBAAVw0RgPgyJPSaL9nyEstfuQD2h aIre6TUlHNkDXecZOGjSU6IwD9aUtMEIvOc7dTroQtLC5loY91ienyD4E=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,
I want to add a new key-value pair in vm config file and then need to get the value in VM using xenstore_read(). But I don't know how to store the key-value to xenstore using the libxl? Which method in libxl can I use to do this? Would anyone help me?

Thank you very much.
zhikai







_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>