[libvirt-users] getting name or uuid of vm within guest OS

Behrooz everplays at gmail.com
Thu Jun 21 05:19:28 UTC 2012


thanks daniel,

it solves having user part of jid (*uuid*@hypervisor.com), but
do you have any idea for domain part (uuid@*hypervisor.com*)?

On Wed, Jun 20, 2012 at 3:50 PM, Daniel P. Berrange <berrange at redhat.com>wrote:

> On Wed, Jun 20, 2012 at 01:15:12PM +0430, Behrooz wrote:
> > Hi,
> >
> > for tl;dr people:
> > how we can get uuid or name of a vm within a guest os?
>
> The name is not exposed, but you can see the guest UUID in the
> SMBIOS data. (see dmidecode command output)
>
> Regards,
> Daniel
> --
> |: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/:|
> |: http://libvirt.org              -o-             http://virt-manager.org:|
> |: http://autobuild.org       -o-         http://search.cpan.org/~danberr/:|
> |: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc:|
>



-- 
regards,
behrooz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120621/db7e3783/attachment.htm>


More information about the libvirt-users mailing list