On 8/10/06, Daniel Veillard <veillard@redhat.com> wrote:
On Thu, Aug 10, 2006 at 04:11:36PM -0400, Juan Walker wrote:
> Hi,
>
> I'm trying to find a good way to correlate a domain to the machine it's
> running on. Can I use libvir or some other method on a domU to get some
> information that uniquely identifies it? Perhaps something that I can get
> from the XML running on dom0?
Domains have an unique identifier which you can extract:
http://libvirt.org/html/libvirt-libvirt.html#virDomainGetUUID
Ah, great! Thanks. Is it possible for me to find out the UUID from something running on domU? I need to have the application connect to the server and identify the information it's sending as being from its specific domain. Any ideas?
Juan