* VM status
@ 2007-05-11 3:45 jd
[not found] ` <784289.34379.qm-zw4ZnLHBZSuvuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: jd @ 2007-05-11 3:45 UTC (permalink / raw)
To: kvm-devel
Hi
How do I get status of a VM ? What states are
available ?
running, stopped/paused, shutting down, blocked,
starting ?
-- I want to know if the VM is paused or not. (via
monitor or any other means)
Thanks
/Jd
____________________________________________________________________________________
8:00? 8:25? 8:40? Find a flick in no time
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
^ permalink raw reply [flat|nested] 4+ messages in thread[parent not found: <784289.34379.qm-zw4ZnLHBZSuvuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>]
* Re: VM status [not found] ` <784289.34379.qm-zw4ZnLHBZSuvuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org> @ 2007-05-13 8:22 ` Dor Laor [not found] ` <64F9B87B6B770947A9F8391472E032160BC745E1-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Dor Laor @ 2007-05-13 8:22 UTC (permalink / raw) To: jd, kvm-devel >Hi > How do I get status of a VM ? What states are >available ? > running, stopped/paused, shutting down, blocked, >starting ? For some of these states you'll need an agent running within the guest {starting, shutting down}. Note that currently except for virt-manager/libvirt there is no open source management tool. > >-- I want to know if the VM is paused or not. (via >monitor or any other means) You can try the qemu-list, except for trying to ping/vnc a paused vm I don't know. > >Thanks >/Jd > > > >_______________________________________________________________________ ____ >_________ >8:00? 8:25? 8:40? Find a flick in no time >with the Yahoo! Search movie showtime shortcut. >http://tools.search.yahoo.com/shortcuts/#news > >----------------------------------------------------------------------- -- >This SF.net email is sponsored by DB2 Express >Download DB2 Express C - the FREE version of DB2 express and take >control of your XML. No limits. Just data. Click to get it now. >http://sourceforge.net/powerbar/db2/ >_______________________________________________ >kvm-devel mailing list >kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org >https://lists.sourceforge.net/lists/listinfo/kvm-devel ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <64F9B87B6B770947A9F8391472E032160BC745E1-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>]
* Re: VM status [not found] ` <64F9B87B6B770947A9F8391472E032160BC745E1-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org> @ 2007-05-13 15:30 ` jd [not found] ` <187091.4134.qm-tgLoaxMNTJuvuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: jd @ 2007-05-13 15:30 UTC (permalink / raw) To: Dor Laor, kvm-devel Thanks again... see below. -- Dor Laor <dor.laor-atKUWr5tajBWk0Htik3J/w@public.gmane.org> wrote: > >Hi > > How do I get status of a VM ? What states are > >available ? > > running, stopped/paused, shutting down, blocked, > >starting ? > > For some of these states you'll need an agent > running within the guest > {starting, shutting down}. > With the agent on box, how does one go about doing it ? running : the process may be running but VM not. starting/shutdown : anything in /proc/pid/stat ? > Note that currently except for virt-manager/libvirt > there is no open > source management tool. > > > > >-- I want to know if the VM is paused or not. (via > >monitor or any other means) > > You can try the qemu-list, except for trying to > ping/vnc a paused vm I > don't know. > > This highlights the fact that some work needs to be done at qemu/kvm level to make it managable. (NOT necessarily at libvirt level). (Anyone trying to slap an xmlrpc server to API called by the qemu-monitor ?) /Jd > >Thanks > >/Jd > > > > > > > >_______________________________________________________________________ > ____ > >_________ > >8:00? 8:25? 8:40? Find a flick in no time > >with the Yahoo! Search movie showtime shortcut. > >http://tools.search.yahoo.com/shortcuts/#news > > > >----------------------------------------------------------------------- > -- > >This SF.net email is sponsored by DB2 Express > >Download DB2 Express C - the FREE version of DB2 > express and take > >control of your XML. No limits. Just data. Click to > get it now. > >http://sourceforge.net/powerbar/db2/ > >_______________________________________________ > >kvm-devel mailing list > >kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > >https://lists.sourceforge.net/lists/listinfo/kvm-devel > ____________________________________________________________________________________Get the free Yahoo! toolbar and rest assured with the added security of spyware protection. http://new.toolbar.yahoo.com/toolbar/features/norton/index.php ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <187091.4134.qm-tgLoaxMNTJuvuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>]
* Re: VM status [not found] ` <187091.4134.qm-tgLoaxMNTJuvuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org> @ 2007-05-13 16:24 ` Anthony Liguori 0 siblings, 0 replies; 4+ messages in thread From: Anthony Liguori @ 2007-05-13 16:24 UTC (permalink / raw) To: jd; +Cc: kvm-devel jd wrote: > Thanks again... see below. > > -- Dor Laor <dor.laor-atKUWr5tajBWk0Htik3J/w@public.gmane.org> wrote: > > >>> Hi >>> How do I get status of a VM ? What states are >>> available ? >>> running, stopped/paused, shutting down, blocked, >>> starting ? >>> These sound very familiar :-) These are the states that a Xen VM can be in. They don't all make a whole lot of sense in the context of KVM. A KVM VM is just like a Linux process. You can use the traditional process states for a VM. One thing that's missing from KVM/QEMU is the ability to determine if a VM is stopped. A monitor command is needed to expose that info. > This highlights the fact that some work needs to be > done at qemu/kvm level to make it managable. (NOT > necessarily at libvirt level). > (Anyone trying to slap an xmlrpc server to API called > by the qemu-monitor ?) > Eek! That's not going to happen. The monitor is an RPC protocol that also happens to be human readable. It would be real nice to have a client library for that protocol for many different languages but, of course, that's what libvirt is :-) Regards, Anthony Liguori > /Jd > > > >>> Thanks >>> /Jd >>> >>> >>> >>> >> _______________________________________________________________________ >> ____ >> >>> _________ >>> 8:00? 8:25? 8:40? Find a flick in no time >>> with the Yahoo! Search movie showtime shortcut. >>> http://tools.search.yahoo.com/shortcuts/#news >>> >>> >> ----------------------------------------------------------------------- >> -- >> >>> This SF.net email is sponsored by DB2 Express >>> Download DB2 Express C - the FREE version of DB2 >>> >> express and take >> >>> control of your XML. No limits. Just data. Click to >>> >> get it now. >> >>> http://sourceforge.net/powerbar/db2/ >>> _______________________________________________ >>> kvm-devel mailing list >>> kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org >>> >> https://lists.sourceforge.net/lists/listinfo/kvm-devel >> >> > > > > > ____________________________________________________________________________________Get the free Yahoo! toolbar and rest assured with the added security of spyware protection. > http://new.toolbar.yahoo.com/toolbar/features/norton/index.php > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > kvm-devel mailing list > kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/kvm-devel > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-05-13 16:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-11 3:45 VM status jd
[not found] ` <784289.34379.qm-zw4ZnLHBZSuvuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
2007-05-13 8:22 ` Dor Laor
[not found] ` <64F9B87B6B770947A9F8391472E032160BC745E1-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-05-13 15:30 ` jd
[not found] ` <187091.4134.qm-tgLoaxMNTJuvuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
2007-05-13 16:24 ` Anthony Liguori
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox