qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org, seabios@seabios.org
Cc: Gerd Hoffmann <kraxel@redhat.com>
Subject: [Qemu-devel] [rfc patch qemu 0/4] s3 improvements
Date: Tue, 17 Jul 2012 14:30:48 +0200	[thread overview]
Message-ID: <1342528252-11470-1-git-send-email-kraxel@redhat.com> (raw)

  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(-)

             reply	other threads:[~2012-07-17 12:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-17 12:30 Gerd Hoffmann [this message]
2012-07-17 12:30 ` [Qemu-devel] [rfc patch qemu 1/4] wakeup: add acpi gpe wakeup reasons Gerd Hoffmann
2012-07-17 12:30 ` [Qemu-devel] [rfc patch qemu 2/4] wakeup: make ps/2 configurable Gerd Hoffmann
2012-07-17 12:30 ` [Qemu-devel] [rfc patch qemu 3/4] wakeup: make serial configurable Gerd Hoffmann
2012-07-17 12:30 ` [Qemu-devel] [rfc patch qemu 4/4] wakeup: uhci support Gerd Hoffmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1342528252-11470-1-git-send-email-kraxel@redhat.com \
    --to=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=seabios@seabios.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).