summaryrefslogtreecommitdiff
path: root/hmp.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2012-02-23 13:45:21 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2012-02-24 13:36:03 -0600
commit9b9df25a474bfee59dd46d033eb4ccc16582aac2 (patch)
treee7f04f11d065c2a4048887d9088f9554598ec4d0 /hmp.c
parentda98c8eb4c35225049cad8cf767647eb39788b5d (diff)
downloadqemu-9b9df25a474bfee59dd46d033eb4ccc16582aac2.tar.gz
qemu-9b9df25a474bfee59dd46d033eb4ccc16582aac2.tar.bz2
qemu-9b9df25a474bfee59dd46d033eb4ccc16582aac2.zip
suspend: add system_wakeup monitor command
This patch adds the system_wakeup monitor command which will simply wake up suspended guests. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hmp.c')
-rw-r--r--hmp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/hmp.c b/hmp.c
index 8ff8c9434e..3a54455574 100644
--- a/hmp.c
+++ b/hmp.c
@@ -632,6 +632,11 @@ void hmp_cont(Monitor *mon, const QDict *qdict)
}
}
+void hmp_system_wakeup(Monitor *mon, const QDict *qdict)
+{
+ qmp_system_wakeup(NULL);
+}
+
void hmp_inject_nmi(Monitor *mon, const QDict *qdict)
{
Error *errp = NULL;