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

2012-06-21 Thread Daniel P. Berrange
On Thu, Jun 21, 2012 at 09:49:28AM +0430, Behrooz wrote: > thanks daniel, > > it solves having user part of jid (*uuid*@hypervisor.com), but > do you have any idea for domain part (uuid@*hypervisor.com*)? Not really, but UUIDs are intended to be globally unique, so adding in 'hypervisor.com' does

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

2012-06-20 Thread Behrooz
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 wrote: > On Wed, Jun 20, 2012 at 01:15:12PM +0430, Behrooz wrote: > > Hi, > > > > for tl;dr people: > >

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

2012-06-20 Thread Daniel P. Berrange
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

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

2012-06-20 Thread Behrooz
Hi, for tl;dr people: how we can get uuid or name of a vm within a guest os? description: We are trying to implement a guest-agent for Archipel* to let us run simple commands on guest os**. in archipel each vm has its own jid (jabber id), user will open a chat conversation to vm's jid and send me