public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Ways to exit from kvm on behalf of the quest system?
@ 2007-07-31 16:56 Dimitry Golubovsky
       [not found] ` <bcba51a0707310956q41554dedn6b88f3819c37bb41-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 15+ messages in thread
From: Dimitry Golubovsky @ 2007-07-31 16:56 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi,

What are possible ways to exit from kvm on behalf of the quest OS
(mainly Linux) when it shuts down?

I use console redirected to serial port (-append console=ttyS0), and
serial port to stdio (-serial stdio), that is, the terminal window
that started kvm becomes guest console, and qemu console seems to be
unavailable. I disable the SDL window as graphics is very slow. So I
see no way to send in a qemu monitor command.

One that works for me is not to disable ACPI, and then if the guest
kernel can use power management, kvm exits on "power off".

Are there other ways to exit from kvm if it is started with -no-acpi?
If kvm is started with -no-acpi then I only see "system halted", but
kvm does not exit.

I use kvm-17 with 2.6.21-ARCH kernel on the host.

Thanks.

PS I need this information to properly document usage scenarios in
kvmadm documentation.

-- 
Dimitry Golubovsky

Anywhere on the Web

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

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

end of thread, other threads:[~2007-08-01 21:57 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-31 16:56 Ways to exit from kvm on behalf of the quest system? Dimitry Golubovsky
     [not found] ` <bcba51a0707310956q41554dedn6b88f3819c37bb41-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-07-31 19:17   ` Amit Shah
     [not found]     ` <200708010047.36600.amit.shah-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-07-31 19:43       ` Dimitry Golubovsky
     [not found]         ` <bcba51a0707311243vf78d45bo9fcb61d0b972f37a-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-01 16:40           ` Avi Kivity
     [not found]             ` <46B0B779.5050407-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-08-01 16:48               ` Dimitry Golubovsky
     [not found]                 ` <bcba51a0708010948t106be39dh81fccc10ebf0a676-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-01 16:53                   ` Avi Kivity
2007-08-01 16:57                   ` Daniel P. Berrange
     [not found]                     ` <20070801165750.GH31282-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2007-08-01 17:06                       ` Dimitry Golubovsky
     [not found]                         ` <bcba51a0708011006q3df19f99k7ae9df230c95487f-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-01 17:14                           ` Daniel P. Berrange
2007-08-01 18:11                   ` Anthony Liguori
     [not found]                     ` <46B0CCC3.6010308-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
2007-08-01 18:35                       ` Dimitry Golubovsky
     [not found]                         ` <bcba51a0708011135q109b9869qc8c563e6e3aeb004-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-01 21:28                           ` Anthony Liguori
     [not found]                             ` <46B0FAE2.4090906-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
2007-08-01 21:43                               ` Dimitry Golubovsky
     [not found]                                 ` <bcba51a0708011443o1d48779en94c724dc4fd0625-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-01 21:48                                   ` Anthony Liguori
2007-08-01 21:57                                   ` Anthony Liguori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox