]> git.proxmox.com Git - mirror_qemu.git/commit - hw/i386/pc_piix.c
suspend: switch acpi s3 to new infrastructure.
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 23 Feb 2012 12:45:20 +0000 (13:45 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 24 Feb 2012 19:36:03 +0000 (13:36 -0600)
commitda98c8eb4c35225049cad8cf767647eb39788b5d
treeb6321ed36190de3ecf265ae4c5b25a2bfe54bb3e
parent95b363b5c643d8ad81c5377726e753b84c909037
suspend: switch acpi s3 to new infrastructure.

This patch switches pc s3 suspend over to the new infrastructure.
The cmos_s3 qemu_irq is killed, the new notifier is used instead.
The xen hack goes away with that too, the hypercall can simply be
done in a notifier function now.

This patch also makes the guest actually stay suspended instead
of leaving suspend instantly, so it is useful for more than just
testing whenever the suspend/resume cycle actually works.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/acpi.c
hw/acpi.h
hw/acpi_piix4.c
hw/mc146818rtc.c
hw/mips_malta.c
hw/pc.c
hw/pc.h
hw/pc_piix.c
hw/vt82c686.c
xen-all.c