Skip to contentSkip to conversation

Q: How to find own domid or uuid from domU?

DISCUSSION Andrew D. Ball 1 participant 1 message May 18, 2006

lore
Share & tools
lore
#0 lore raw

I think it would be really, really good if the UUID would be exposed via sysfs in domU's.

Peace.
Andrew

Quoted 31 lines · Keir Fraser
Quoted 7 lines · Markus Armbruster
Quoted 4 lines

If it's only management tools looking to obtain info about other running domains, there's already a dom0_op for querying uuid info.

Is there any reason a domain needs to know its *own* uuid?

Quoted 7 lines

It's management tools looking to obtain info about their own domain.

Consider a network-enabled stat-gathering, managing, or monitoring tool running on domU. It wants to uniquely identify itself to the peer. IP or MAC can work in some environments, but in others they're ephemeral. UUID would be much better. It's the only thing that known never to change, isn't it?

Ok makes sense.

Adding a new op to the version hypercall will be fine.

-- Keir

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel