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@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