From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40660) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2SYZ-00072i-1r for qemu-devel@nongnu.org; Wed, 02 Jul 2014 17:59:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X2SYT-0003CE-VD for qemu-devel@nongnu.org; Wed, 02 Jul 2014 17:59:10 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53318) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2SYT-0003Br-NW for qemu-devel@nongnu.org; Wed, 02 Jul 2014 17:59:05 -0400 Message-ID: <53B480A4.4090809@redhat.com> Date: Wed, 02 Jul 2014 15:59:00 -0600 From: Eric Blake MIME-Version: 1.0 References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="e8kltbfmedIeM4fkqiQPDuvWfhlJvgB1k" Subject: Re: [Qemu-devel] VM id List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gary Jordan , qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --e8kltbfmedIeM4fkqiQPDuvWfhlJvgB1k Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 i= n > 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. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --e8kltbfmedIeM4fkqiQPDuvWfhlJvgB1k Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJTtICkAAoJEKeha0olJ0NqlQYH+wQAnbH7oSq4LrkSxu+9sF2y ZFdlNNWKak3wcXhu043wKd7h0GRa8DCmGb8tLmXcPJA9eI51ERhMmV2eCkrZHy7a iOzyZWHSIEWd/iPRAVhJVemxkCyVDs2Rm+gapGxG75JrCdfvCXd/Knx+TtwZCZdU oxYpsvFEu0NhZZknYCQdcyeXMeis49HgWHQkJzsqU9QfW9pWx9+kOMM1EOJ9duSj HvWqRxXJr0dh85yBd2tfSeDC6d+QJR5R0H60YSgfFNcZref6HLFMKyrrpkB4edIn 7LZGZ3aKud9Kz02pJjUU+X+IS7NkcifKWA1YFLIkGBwzB5M4BduI1JonwqOxE4I= =rKXK -----END PGP SIGNATURE----- --e8kltbfmedIeM4fkqiQPDuvWfhlJvgB1k--