aboutsummaryrefslogtreecommitdiff
path: root/qemu-monitor.hx
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 /qemu-monitor.hx
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 'qemu-monitor.hx')
-rw-r--r--qemu-monitor.hx3
1 files changed, 2 insertions, 1 deletions
diff --git a/qemu-monitor.hx b/qemu-monitor.hx
index b116b5ef80..3efc716989 100644
--- a/qemu-monitor.hx
+++ b/qemu-monitor.hx
@@ -482,7 +482,8 @@ ETEXI
.args_type = "",
.params = "",
.help = "send system power down event",
- .mhandler.cmd = do_system_powerdown,
+ .user_print = monitor_user_noop,
+ .mhandler.cmd_new = do_system_powerdown,
},
STEXI