[Ilugc] Question about shutting down Guest KVMs during HOST OS shutdown

  • From: rajasuperman@xxxxxxxxx (Raja Subramanian)
  • Date: Tue Nov 24 23:25:37 2009

On Tue, Nov 24, 2009 at 2:39 PM, Arun Khan <knura@xxxxxxxxx> wrote:

During HOST OS shutdown, the kvminit shuts down each Guest KVM using
the following mechanism:

?ssh root@<kvm_guest> "/sbin/poweroff" ?(using ssh key-pair login mechanism)

Best method is to use acpi to shutdown the guest.  Host sends
an acpi power button pressed event, and guest acpi userland
responds.  This method for non-linux guests as well.

But I'm not sure how to get get it working in qemu-kvm.

- Raja

Other related posts: