]> git.ipfire.org Git - thirdparty/qemu.git/commit
qemu: Adjust qemu wakeup
authorLiu, Jinsong <jinsong.liu@intel.com>
Wed, 25 Sep 2013 16:38:29 +0000 (16:38 +0000)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 1 Oct 2013 15:50:35 +0000 (10:50 -0500)
commitbc05a488b49f903e404323b76ca9b675318393fc
tree40d301e3b994e1094e3eb629d81c6c02a5a6be3d
parentba20326a937421c50a775907dc9ac726bb9a9b50
qemu: Adjust qemu wakeup

Currently Xen hvm s3 has a bug coming from the difference between
qemu-traditioanl and qemu-xen. For qemu-traditional, the way to
resume from hvm s3 is via 'xl trigger' command. However, for
qemu-xen, the way to resume from hvm s3 inherited from standard
qemu, i.e. via QMP, and it doesn't work under Xen.

The root cause is, for qemu-xen, 'xl trigger' command didn't reset
devices, while QMP didn't unpause hvm domain though they did qemu
system reset.

We have two qemu patches and one xl patch to fix Xen hvm s3 bug.
This patch is the qemu patch 1. It adjusts qemu wakeup so that
Xen s3 resume logic (which will be implemented at qemu patch 2)
will be notified after qemu system reset.

Signed-off-by: Liu Jinsong <jinsong.liu@intel.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>
(cherry picked from commit 4bc78a877252d772b983810a7d2c0be00e9be70e)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/acpi/core.c
include/sysemu/sysemu.h
vl.c