From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:40666) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sr6vj-0001i7-0Z for qemu-devel@nongnu.org; Tue, 17 Jul 2012 08:31:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sr6vY-0007mE-Bb for qemu-devel@nongnu.org; Tue, 17 Jul 2012 08:31:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:63297) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sr6vY-0007lc-3u for qemu-devel@nongnu.org; Tue, 17 Jul 2012 08:30:56 -0400 From: Gerd Hoffmann Date: Tue, 17 Jul 2012 14:30:48 +0200 Message-Id: <1342528252-11470-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [rfc patch qemu 0/4] s3 improvements List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, seabios@seabios.org Cc: Gerd Hoffmann Hi, This patch series (and the seabios patch series following in a minute) improve s3 support in qemu. The patches allocates a bunch of acpi gpe bits for s3 wakeup of piix chipset devices (ps/2 keyboard, ps/2 mouse, serial port, uhci controller) and does the windup needed so the guest can enable+disable wakeup per device using apci. With this patch series applied /proc/acpi/wakeup inside the guest looks like this ... Device S-state Status Sysfs node UHCI S3 *enabled pci:0000:00:01.2 KBD S3 *enabled pnp:00:02 MOU S3 *disabled pnp:00:03 COM1 S3 *disabled pnp:00:05 ... and you can use "echo $device > /proc/acpi/wakeup" to toggle enabled/disabled. comments? Gerd Gerd Hoffmann (4): wakeup: add acpi gpe wakeup reasons wakeup: make ps/2 configurable wakeup: make serial configurable wakeup: uhci support hw/acpi.c | 26 ++++++++++++++++++++++++++ hw/ps2.c | 4 ++-- hw/serial.c | 10 +++++++++- hw/usb/hcd-uhci.c | 35 +++++++++++++++++++++++++++++++++++ sysemu.h | 4 ++++ 5 files changed, 76 insertions(+), 3 deletions(-)