qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] VM id


From: Eric Blake
Subject: Re: [Qemu-devel] VM id
Date: Wed, 02 Jul 2014 15:59:00 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

On 07/02/2014 01:20 PM, Gary Jordan wrote:
> Does Qemu have a VM id allocated for each VM?  I did not find this Id in
> qemu. HOW deos qemu identify each VM, using thread Id or some other
> identifiers?

Each qemu process manages exactly one VM, so qemu doesn't care what id a
guest has.  Higher-level management software, such as libvirt, has
notions of a VM name and UUID (both of which can be specified on the
command line parameters given to qemu, and the UUID can even be
propagated to the guest, such as by SMBIOS readable by dmidecode in the
guest), as well as a VM id (in libvirt's case, a sequentially increasing
number for each VM that libvirt spawns a qemu process for).  But that's
getting outside the realm of qemu, since qemu doesn't care what name or
uuid you picked, only whether you have access to the monitor of the qemu
process.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]