From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:43273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rkzo8-0003Nt-VB for qemu-devel@nongnu.org; Wed, 11 Jan 2012 10:09:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rkznz-00079U-9A for qemu-devel@nongnu.org; Wed, 11 Jan 2012 10:09:44 -0500 Received: from mx1.redhat.com ([209.132.183.28]:5262) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rkznz-00074i-06 for qemu-devel@nongnu.org; Wed, 11 Jan 2012 10:09:35 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q0BF990V025210 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 11 Jan 2012 10:09:09 -0500 From: Gerd Hoffmann Date: Wed, 11 Jan 2012 16:08:56 +0100 Message-Id: <1326294541-15080-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [RFC PATCH 0/5] initial suspend support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann Hi, 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. Not much yet, but it's a start with the low hanging fruits ;) Gerd Hoffmann (5): suspend: add infrastructure suspend: add wakeup monitor command suspend: switch acpi s3 to new infrastructure. suspend: make ps/2 devices wakeup the guest suspend: make serial ports wakeup the guest. hmp-commands.hx | 14 ++++++++++++++ hmp.c | 5 +++++ hmp.h | 1 + hw/acpi.c | 3 +-- hw/ps2.c | 6 ++++++ hw/serial.c | 6 ++++++ qapi-schema.json | 11 +++++++++++ qmp-commands.hx | 21 +++++++++++++++++++++ qmp.c | 5 +++++ sysemu.h | 2 ++ vl.c | 21 +++++++++++++++++++++ 11 files changed, 93 insertions(+), 2 deletions(-)