[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



(please do not top post)

On Tue, 2011-08-16 at 16:32 +0100, Bei Guan wrote:
> Many thanks to all of you.
> I see there are some functions in mini-os/xenbus/xenbus.c, such as
> xenbus_write() and xenbus_rm(). All of them seem to change the keys
> and values in xenstore. I have tried these functions and found that
> they have no effect on the keys and values in xenstore.

Tried in the context of mini-os or tried by ripping them out and into
hvmloader?

>  So, do these functions can really work?

mini-os's frontend drivers presumably use them so I'd expect so.

>  What special things need I to do to make them work?

Which specific path are you trying to write?

> 
> 
> 
> 
> Thanks,
> Bei Guan
> 
> 
> 2011/8/16 Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
>         On Mon, 2011-08-15 at 16:20 +0100, Bei Guan wrote:
>         > Maybe the VM doesn't have the permission to write its own
>         key in
>         > Xenstore.
>         
>         
>         It is quite common for keys in xenstore to be ro for the guest
>         (only the
>         backend or toolstack domain can write to them).
>         
>         Ian.
>         
> 
> 



_______________________________________________
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®.