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

Re: [Xen-devel] Q: How to find own domid or uuid from domU?



Christian Limpach wrote:
On 5/18/06, Andrew D. Ball <aball@xxxxxxxxxx> wrote:

Good!  I've been strapped for time, but will eventually get around to it
perhaps.  Mike Day's been doing excellent work on it.

I think it would be nice if the attribute were called uuid and not vm
with "/vm/" prepended.  I suppose it's fine to keep "vm" as a shortcut,
but a separate UUID attribute is more important, IMHO.


There's a uuid node under the vm path.  I.e. you'd do:
vmpath=$(xenstore-read vm)
uuid=$(xenstore-read $vmpath/uuid)

I think exposing this through sysfs would be wrong, there's no need to
make the kernel aware of any of this.

It's not the kernel's knowing about it that I'm interested in, but userspace systems management applications.

It's essential that management applications running outside of domU's and the dom0's hosting those domU's to have a stable method of correlating output from agents running in the domU's with their dom0's. The UUID's are good for this, but need to be read from xenstore now.

Since I'm interested in <uuid> instead of /vm/<uuid>, I'd like to see <uuid> by itself in xenstore.

Make sense?


   christian

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



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