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 /hmp.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 'hmp.c')
-rw-r--r-- | hmp.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -93,3 +93,9 @@ void hmp_info_chardev(Monitor *mon) qapi_free_ChardevInfoList(char_info); } + +void hmp_quit(Monitor *mon, const QDict *qdict) +{ + monitor_suspend(mon); + qmp_quit(NULL); +} |