]> git.proxmox.com Git - qemu.git/blobdiff - hmp-commands.hx
qapi: Convert eject
[qemu.git] / hmp-commands.hx
index 047fba2eeb8d195dd22e47060d0bbc53f81c359d..364623c1bd32962306ba218d930eb2a81f71e381 100644 (file)
@@ -75,8 +75,7 @@ ETEXI
         .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 = hmp_eject,
     },
 
 STEXI