[Libvir] Guest Identification

Juan Walker juan at bixdata.com
Thu Aug 10 20:28:20 UTC 2006

On 8/10/06, Daniel Veillard <veillard at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20060810/2d69ea76/attachment-0001.htm>

More information about the libvir-list mailing list