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] How to write a key-value into xenstore from DomU

To: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] How to write a key-value into xenstore from DomU
From: Bei Guan <gbtju85@xxxxxxxxx>
Date: Mon, 15 Aug 2011 16:10:09 +0800
Delivery-date: Mon, 15 Aug 2011 01:11:52 -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=q2We9gVuTPqdgp5lSRqsOM9FADtHTuJ0EnW3MVgDyjs=; b=ilSEtkHQRRY5/wMHnwffvflWsWw6wLDxH3VpvfLzVr29v8V8wxJHc3+vOsZCUx1pjt qP3LKorZfgtU7+uGsttMozbl7PEkd7iAZIo24t8AOqO7AlxHWoFRZmdd9tzpnZjAoaD1 SASbfrB/45IjIxaznHoe84nZgYtuJVYfZtTuI=
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 All,

I want to know how to write a new key-value or modify a exsited key-value in xenstore. When using xb_write() with message type XS_WRITE or XS_SET_PERMS, I always get the error EACCES. I have seen the XenBus xenwiki page. However, I am still a little confusing about how to write to xenstore for a DomU when using Xenbus. Thank you very much.

Best Regards,
Bei Guan

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] How to write a key-value into xenstore from DomU, Bei Guan <=