diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2009-10-16 12:23:49 -0300 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-27 12:28:58 -0500 |
commit | e1c923a62ac75b13ff9028d240279f951030fca3 (patch) | |
tree | 6f16b958dfa69f2d2cbbfbcd119a4ea34e0a575e /qemu-monitor.hx | |
parent | 6848d827162fea039f2658414a4adb6164a4f9b0 (diff) |
monitor: Convert do_eject() to QObject
Note that errors are not being converted yet.
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.hx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qemu-monitor.hx b/qemu-monitor.hx index 4610ad4c00..05b4534c7d 100644 --- a/qemu-monitor.hx +++ b/qemu-monitor.hx @@ -133,7 +133,8 @@ ETEXI .args_type = "force:-f,filename:B", .params = "[-f] device", .help = "eject a removable medium (use -f to force it)", - .mhandler.cmd = do_eject, + .user_print = monitor_user_noop, + .mhandler.cmd_new = do_eject, }, STEXI |