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 /qmp.c | |
parent | da98c8eb4c35225049cad8cf767647eb39788b5d (diff) | |
download | qemu-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 'qmp.c')
-rw-r--r-- | qmp.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -163,6 +163,11 @@ void qmp_cont(Error **errp) vm_start(); } +void qmp_system_wakeup(Error **errp) +{ + qemu_system_wakeup_request(QEMU_WAKEUP_REASON_OTHER); +} + ObjectPropertyInfoList *qmp_qom_list(const char *path, Error **errp) { Object *obj; |