diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2011-12-07 16:02:36 -0200 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2012-01-18 10:23:39 -0200 |
commit | c245b6a37d76670c3ba7b9063bac943bb998bb7c (patch) | |
tree | 95cf2e606d25f167bb3b956018d60787700f7c95 /qmp-commands.hx | |
parent | 92d48558edb14666a2851068db4c2095664e0fbc (diff) |
qapi: Convert eject
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qmp-commands.hx')
-rw-r--r-- | qmp-commands.hx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/qmp-commands.hx b/qmp-commands.hx index d7264b2dbb..185bebabee 100644 --- a/qmp-commands.hx +++ b/qmp-commands.hx @@ -84,10 +84,7 @@ EQMP { .name = "eject", .args_type = "force:-f,device:B", - .params = "[-f] device", - .help = "eject a removable medium (use -f to force it)", - .user_print = monitor_user_noop, - .mhandler.cmd_new = do_eject, + .mhandler.cmd_new = qmp_marshal_input_eject, }, SQMP |