aboutsummaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2009-10-07 13:41:59 -0300
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-08 21:17:19 -0500
commit4307666463cb94f22f59bb47f701ff2d4911aae0 (patch)
treeef3d98715ebd73c24638c790ed96d141e65164ba /monitor.c
parentc80d259e31c7475a6438b5a098e1d401337c64d0 (diff)
monitor: Convert do_system_powerdown() to QObject
Patchworks-ID: 35346 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 3209875bbc..ab15289a9c 100644
--- a/monitor.c
+++ b/monitor.c
@@ -1301,7 +1301,11 @@ static void do_system_reset(Monitor *mon, const QDict *qdict,
qemu_system_reset_request();
}
-static void do_system_powerdown(Monitor *mon, const QDict *qdict)
+/**
+ * do_system_powerdown(): Issue a machine powerdown
+ */
+static void do_system_powerdown(Monitor *mon, const QDict *qdict,
+ QObject **ret_data)
{
qemu_system_powerdown_request();
}