qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Is there any qemu-monitor commands like "virsh list" ?
@ 2011-04-23 12:08 Ryan Wang
  2011-04-23 12:58 ` Stefan Hajnoczi
  0 siblings, 1 reply; 2+ messages in thread
From: Ryan Wang @ 2011-04-23 12:08 UTC (permalink / raw)
  To: qemu-devel, kvm

[-- Attachment #1: Type: text/plain, Size: 294 bytes --]

Hi,

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?

thanks,

[-- Attachment #2: Type: text/html, Size: 352 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] Is there any qemu-monitor commands like "virsh list" ?
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Hajnoczi @ 2011-04-23 12:58 UTC (permalink / raw)
  To: Ryan Wang; +Cc: qemu-devel, kvm

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-04-23 12:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).