]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Allow ACPI shutdown only for running domains
authorMartin Kletzander <mkletzan@redhat.com>
Mon, 13 Jun 2016 12:33:42 +0000 (14:33 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 14 Jun 2016 09:13:03 +0000 (11:13 +0200)
commitb842741ba467b97f3c1ac63ec9bc550edf037690
tree64de564da9ab1601a9c63a7d9903f2bfb58ea214
parenta781eae8c1a9985b87082451f187ae284894d99a
qemu: Allow ACPI shutdown only for running domains

If the domain is not running, but for example the CPUs are stopped, the
ACPI event gets queued and resume of the domain will just shut it off.

https://bugzilla.redhat.com/show_bug.cgi?id=1216281

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/qemu/qemu_driver.c