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

[Xen-devel] [RFC] Switching store to use domain id's for keys



Hey guys,

As I go through the console code, I notice that the domain console information is being stored in /console/%d/domain instead of within the /domain tree as one would expect.

The reasoning seems obvious to me, there's no easy way to get the UUID for a domain so constructing a UUID based path outside of Xend is very difficult.

Perhaps now is a good time to reconsider just using domain ids instead of UUIDs for the paths? In a cluster we could just use <nodeid>/domain/<domid> for unique identification.

Or, if we really want to use UUIDs in the node path, perhaps we can add UUIDs to the domain structure in the hypervisor so that we can actually query it through getdomaininfo?

Regards,

Anthony Liguori

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