diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2012-02-23 13:45:21 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-02-24 13:36:03 -0600 |
commit | 9b9df25a474bfee59dd46d033eb4ccc16582aac2 (patch) | |
tree | e7f04f11d065c2a4048887d9088f9554598ec4d0 /hmp.c | |
parent | da98c8eb4c35225049cad8cf767647eb39788b5d (diff) |
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.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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; |