|
From: | Gary Jordan |
Subject: | Re: [Qemu-devel] VM id |
Date: | Wed, 2 Jul 2014 20:29:57 -0400 |
Each qemu process manages exactly one VM, so qemu doesn't care what id aOn 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?
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
[Prev in Thread] | Current Thread | [Next in Thread] |