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/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to