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

Re: [Xen-devel] XD_GET_DOMAIN_PATH from dom2



On Fri, Dec 08, 2006 at 01:56:55PM -0700, ron minnich wrote:

> This is returning /local/domain/0 to domain 2.
> 
> Is this something anyone has tried? I am wondering if I am hitting
> something that was never tested.

Do you mean XS_GET_DOMAIN_PATH, the Xenstored message?  This takes a domid, so
if you're getting /local/domain/0 out, then you almost certainly are putting 0
in.

If you want to read /local/domain/N/something from domain N, then you can just
do xs_read("something"), as each domain has an implicit prefix of
/local/domain/N if they read using relative paths.

Ewan.

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