From: Eric Blake <eblake@redhat.com>
To: Gary Jordan <jordgary@gmail.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] VM id
Date: Wed, 02 Jul 2014 15:59:00 -0600 [thread overview]
Message-ID: <53B480A4.4090809@redhat.com> (raw)
In-Reply-To: <CAF8TkMKu7Uyh2z3g05PfQFM9BBCWY_ofbfi-a_cKjCD55qpZEw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 974 bytes --]
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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]
next prev parent reply other threads:[~2014-07-02 21:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-02 19:20 [Qemu-devel] VM id Gary Jordan
2014-07-02 21:59 ` Eric Blake [this message]
2014-07-03 0:29 ` Gary Jordan
2014-07-03 0:46 ` Eric Blake
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53B480A4.4090809@redhat.com \
--to=eblake@redhat.com \
--cc=jordgary@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).