]> git.proxmox.com Git - mirror_qemu.git/commit - blockdev.c
monitor: Use traditional command interface for HMP drive_del
authorMarkus Armbruster <armbru@redhat.com>
Thu, 5 Mar 2015 16:00:56 +0000 (17:00 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 2 Jun 2015 07:59:13 +0000 (09:59 +0200)
commit072ebe6b0351060b33287454fdef625fe79c858f
tree6fbf347fb081194250847a06e25fb5c68361c67e
parentb8a185bc9a8ecbdc74fd64672e4abdd09a558e1c
monitor: Use traditional command interface for HMP drive_del

All QMP commands use the "new" handler interface (mhandler.cmd_new).
Most HMP commands still use the traditional interface (mhandler.cmd),
but a few use the "new" one.  Complicates handle_user_command() for no
gain, so I'm converting these to the traditional interface.

For drive_del, that's easy: hmp_drive_del() sheds its unused last
parameter, and its return value, which the caller ignored anyway.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
blockdev.c
hmp-commands.hx
include/sysemu/blockdev.h