aboutsummaryrefslogtreecommitdiff
path: root/qmp.c
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2011-09-15 14:41:46 -0300
committerLuiz Capitulino <lcapitulino@redhat.com>2011-10-04 11:02:57 -0300
commit38d226535aeebda24f579446e168ae3385f4ebd6 (patch)
tree7fc9fc17deed0189a923376aa6b0efda6888af73 /qmp.c
parent5f158f21f9b2ff129b5154bccf6212692ac9f6c1 (diff)
downloadqemu-38d226535aeebda24f579446e168ae3385f4ebd6.zip
qemu-38d226535aeebda24f579446e168ae3385f4ebd6.tar.gz
qemu-38d226535aeebda24f579446e168ae3385f4ebd6.tar.bz2
qapi: Convert system_reset
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qmp.c')
-rw-r--r--qmp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/qmp.c b/qmp.c
index 6c46479..51d9383 100644
--- a/qmp.c
+++ b/qmp.c
@@ -81,3 +81,7 @@ void qmp_stop(Error **errp)
vm_stop(RUN_STATE_PAUSED);
}
+void qmp_system_reset(Error **errp)
+{
+ qemu_system_reset_request();
+}