qmp: Introduce blockdev-change-medium
Introduce a new QMP command 'blockdev-change-medium' which is intended to replace the 'change' command for block devices. The existing function qmp_change_blockdev() is accordingly renamed to qmp_blockdev_change_medium(). Signed-off-by:Max Reitz <mreitz@redhat.com> Signed-off-by:
Kevin Wolf <kwolf@redhat.com>
Showing
- blockdev.c 4 additions, 3 deletionsblockdev.c
- include/sysemu/blockdev.h 0 additions, 2 deletionsinclude/sysemu/blockdev.h
- qapi-schema.json 4 additions, 2 deletionsqapi-schema.json
- qapi/block-core.json 23 additions, 0 deletionsqapi/block-core.json
- qmp-commands.hx 31 additions, 0 deletionsqmp-commands.hx
- qmp.c 1 addition, 1 deletionqmp.c
- ui/cocoa.m 6 additions, 4 deletionsui/cocoa.m
Loading
Please register or sign in to comment