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

(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