qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org
Cc: Gerd Hoffmann <kraxel@redhat.com>
Subject: [Qemu-devel] [PULL 0/4] wakeup: make wakeup events guest-configurable
Date: Thu,  6 Sep 2012 09:42:43 +0200	[thread overview]
Message-ID: <1346917367-24691-1-git-send-email-kraxel@redhat.com> (raw)

  Hi,

This patch series allows the guest to enable and disable s3 wakeup
events per device via acpi.  It also adds support for waking up
the guest from uhci.  Each device gets a GPE pin assigned.

With this patch series applied and seabios updated (for the dsdt updates
needed to tell guests about the GPE assignments) /proc/acpi/wakeup
looks like this:

[root@fedora ~]# cat /proc/acpi/wakeup 
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

Patches have been posted for review a while back, pull req got delayed
due to vacation and 1.2 freeze, now I'm finally aiming for merge.

seabios changes needed are available from
  git://git.kraxel.org/seabios wakeup

please pull,
  Gerd

The following changes since commit 8db972cfa469b4e4afd9c65e54e796b83b5ce3a2:

  Update version for 1.2.0 (2012-09-05 07:50:01 -0500)

are available in the git repository at:
  git://git.kraxel.org/qemu wakeup.1

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-09-06  7:42 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-06  7:42 Gerd Hoffmann [this message]
2012-09-06  7:42 ` [Qemu-devel] [PATCH 1/4] wakeup: add acpi gpe wakeup reasons Gerd Hoffmann
2012-09-06  7:42 ` [Qemu-devel] [PATCH 2/4] wakeup: make ps/2 configurable Gerd Hoffmann
2012-09-06  7:42 ` [Qemu-devel] [PATCH 3/4] wakeup: make serial configurable Gerd Hoffmann
2012-09-06  7:48   ` Peter Maydell
2012-09-06 10:47     ` Gerd Hoffmann
2012-09-08  7:15       ` Blue Swirl
2012-09-08 10:34         ` Paolo Bonzini
2012-09-10 16:02           ` Anthony Liguori
2012-09-10 16:07             ` Paolo Bonzini
2012-09-10 16:16               ` Peter Maydell
2012-09-10 17:19                 ` Anthony Liguori
2012-09-10  5:47         ` Gerd Hoffmann
2012-09-06  7:42 ` [Qemu-devel] [PATCH 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=1346917367-24691-1-git-send-email-kraxel@redhat.com \
    --to=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.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).