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

Re: [Xen-devel] Re: hvmloader/xenbus.c: How to modify or add a key-value

At 23:20 +0800 on 15 Aug (1313450426), Bei Guan wrote:
> 2011/8/15 Tim Deegan <tim@xxxxxxx>
> 
> > At 17:37 +0800 on 13 Aug (1313257073), Bei Guan wrote:
> > > The error message here is EACCES.
> >
> > Uh-huh.  So, what key and value are you trying to write?  Does your VM
> > have write permissions to that part of the store?
> >
> I try to write some new key-value pairs or modify some existed key in the
> the DomU's xenstore tree, such as /local/domain/<DomId>/<key>. The <DomId>
> is the ID of the DomainU.
> Maybe the VM doesn't have the permission to write its own key in Xenstore.
> So, how to make the VM to have the permission to write the key and value in
> Xenstore?

xenstore-ls -p will show you the ACLs on the various keys and
xenstore-chmod will let you change them, for testing. 

Tim.

-- 
Tim Deegan <tim@xxxxxxx>
Principal Software Engineer, Xen Platform Team
Citrix Systems UK Ltd.  (Company #02937203, SL9 0BG)

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel