[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/6] initial suspend support
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH v2 0/6] initial suspend support |
Date: |
Mon, 16 Jan 2012 19:15:09 +0100 |
This patch series makes suspend support in qemu alot more useful. Right
now the guest can put itself into s3, but qemu will wakeup the guest
instantly. With this patch series applied the guest will stay suspended
instead and there are a few events which can kick the guest out of
suspend state: A monitor command, ps/2 input, serial input, rtc. Not
much yet, but it's a start with the low hanging fruits ;)
Changes in v2:
* Add a suspend notifier.
* Replace the cmos_s3 qemu_irq with the notifier, zap a bunch of hackish
cmos_s3 windup code (this touches xen-all.c, thus cc xen-devel).
* Add rtc wakeup support.
Gerd Hoffmann (6):
suspend: add infrastructure
suspend: switch acpi s3 to new infrastructure.
suspend: add wakeup monitor command
suspend: make ps/2 devices wakeup the guest
suspend: make serial ports wakeup the guest.
suspend: make rtc alarm wakeup the guest.
hmp-commands.hx | 14 ++++++++++++++
hmp.c | 5 +++++
hmp.h | 1 +
hw/acpi.c | 11 +----------
hw/acpi.h | 2 --
hw/acpi_piix4.c | 3 +--
hw/mc146818rtc.c | 17 +++++++++++++++++
hw/mips_malta.c | 2 +-
hw/pc.c | 11 -----------
hw/pc.h | 3 +--
hw/pc_piix.c | 8 +-------
hw/ps2.c | 6 ++++++
hw/serial.c | 6 ++++++
hw/vt82c686.c | 1 -
qapi-schema.json | 11 +++++++++++
qmp-commands.hx | 21 +++++++++++++++++++++
qmp.c | 5 +++++
sysemu.h | 3 +++
vl.c | 28 ++++++++++++++++++++++++++++
xen-all.c | 11 ++++++-----
20 files changed, 128 insertions(+), 41 deletions(-)
- [Qemu-devel] [PATCH v2 0/6] initial suspend support,
Gerd Hoffmann <=
- [Qemu-devel] [PATCH v2 3/6] suspend: add wakeup monitor command, Gerd Hoffmann, 2012/01/16
- [Qemu-devel] [PATCH v2 5/6] suspend: make serial ports wakeup the guest., Gerd Hoffmann, 2012/01/16
- [Qemu-devel] [PATCH v2 6/6] suspend: make rtc alarm wakeup the guest., Gerd Hoffmann, 2012/01/16
- [Qemu-devel] [PATCH v2 1/6] suspend: add infrastructure, Gerd Hoffmann, 2012/01/16
- [Qemu-devel] [PATCH v2 2/6] suspend: switch acpi s3 to new infrastructure., Gerd Hoffmann, 2012/01/16
- [Qemu-devel] [PATCH v2 4/6] suspend: make ps/2 devices wakeup the guest, Gerd Hoffmann, 2012/01/16
- Re: [Qemu-devel] [PATCH v2 0/6] initial suspend support, Paolo Bonzini, 2012/01/17