diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2011-09-15 14:20:28 -0300 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2011-10-04 11:02:57 -0300 |
commit | 7a7f325e053c5079ce4b7b8e9e2b0f4c4c30ade8 (patch) | |
tree | dcdb119186cc081a65485edbe9826ca9f44aa6b1 /qmp.c | |
parent | aa9b79bcd813b399ad13e13b5db4e8b2e8787e4c (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.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -70,3 +70,9 @@ UuidInfo *qmp_query_uuid(Error **errp) return info; } +void qmp_quit(Error **err) +{ + no_shutdown = 0; + qemu_system_shutdown_request(); +} + |