[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.