qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@gmail.com>
To: Ryan Wang <openspace.wang@gmail.com>
Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org
Subject: Re: [Qemu-devel] Is there any qemu-monitor commands like "virsh list" ?
Date: Sat, 23 Apr 2011 13:58:12 +0100	[thread overview]
Message-ID: <BANLkTi=NbWmWSwh6LVp373ciMgzW8J5QLA@mail.gmail.com> (raw)
In-Reply-To: <BANLkTikVmWXwPy+HUggZ1sAh0pBPUaV2sw@mail.gmail.com>

On Sat, Apr 23, 2011 at 1:08 PM, Ryan Wang <openspace.wang@gmail.com> wrote:
> I'm a newbie to qemu/kvm and reading some docs on them.
> I've learned some 'virsh' commands. Now I want to know is
> there any qemu-monitor commands like 'virsh list'?
>
> Or if I want to list current VMs on my host, I have to use the
> virsh commands, and cannot use some qemu commands?

qemu and qemu-kvm are local, they only know about the single VM they
are running.  The management tool (libvirt and virt-tools) knows about
all the VMs that are running on a host.

Without libvirt you can just us ps(1) to see which qemu processes are
running on the host.

Stefan

      reply	other threads:[~2011-04-23 12:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-23 12:08 [Qemu-devel] Is there any qemu-monitor commands like "virsh list" ? Ryan Wang
2011-04-23 12:58 ` Stefan Hajnoczi [this message]

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='BANLkTi=NbWmWSwh6LVp373ciMgzW8J5QLA@mail.gmail.com' \
    --to=stefanha@gmail.com \
    --cc=kvm@vger.kernel.org \
    --cc=openspace.wang@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).