aboutsummaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2009-10-07 13:41:58 -0300
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-08 21:17:19 -0500
commitc80d259e31c7475a6438b5a098e1d401337c64d0 (patch)
tree74b5c61ce954dc47b65cf80ee5d561672c92f1d1 /monitor.c
parente0c97bdef8be937df9aaf7d24733ba1e34d8721a (diff)
monitor: Convert do_system_reset() to QObject
Patchworks-ID: 35347 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.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/monitor.c b/monitor.c
index ae0a567c0d..3209875bbc 100644
--- a/monitor.c
+++ b/monitor.c
@@ -1292,7 +1292,11 @@ static void do_boot_set(Monitor *mon, const QDict *qdict)
}
}
-static void do_system_reset(Monitor *mon, const QDict *qdict)
+/**
+ * do_system_reset(): Issue a machine reset
+ */
+static void do_system_reset(Monitor *mon, const QDict *qdict,
+ QObject **ret_data)
{
qemu_system_reset_request();
}