aboutsummaryrefslogtreecommitdiffstats
path: root/qmp.c
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2011-09-15 14:20:28 -0300
committerLuiz Capitulino <lcapitulino@redhat.com>2011-10-04 11:02:57 -0300
commit7a7f325e053c5079ce4b7b8e9e2b0f4c4c30ade8 (patch)
treedcdb119186cc081a65485edbe9826ca9f44aa6b1 /qmp.c
parentaa9b79bcd813b399ad13e13b5db4e8b2e8787e4c (diff)
qapi: Convert quit
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.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/qmp.c b/qmp.c
index 58337c79f..1d380b6a5 100644
--- a/qmp.c
+++ b/qmp.c
@@ -70,3 +70,9 @@ UuidInfo *qmp_query_uuid(Error **errp)
return info;
}
+void qmp_quit(Error **err)
+{
+ no_shutdown = 0;
+ qemu_system_shutdown_request();
+}
+