aboutsummaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2009-10-07 13:41:56 -0300
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-08 21:17:19 -0500
commitb223f35f4e13a65db8032700a329c7cbf62016c5 (patch)
tree32ca04045994b9f1ee3e32013dd43c03c57683ee /monitor.c
parent13c7425e1a3b1f3503d87aaa765ff0112c6b4dd7 (diff)
monitor: Convert do_quit() do QObject
Patchworks-ID: 35345 Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/monitor.c b/monitor.c
index cc1b501cfe..4ba415c8f4 100644
--- a/monitor.c
+++ b/monitor.c
@@ -457,7 +457,10 @@ static void do_info_cpu_stats(Monitor *mon)
}
#endif
-static void do_quit(Monitor *mon, const QDict *qdict)
+/**
+ * do_quit(): Quit QEMU execution
+ */
+static void do_quit(Monitor *mon, const QDict *qdict, QObject **ret_data)
{
exit(0);
}