]> git.proxmox.com Git - mirror_qemu.git/commit
block: Accept device model name for x-blockdev-remove-medium
authorKevin Wolf <kwolf@redhat.com>
Tue, 20 Sep 2016 11:38:45 +0000 (13:38 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 23 Sep 2016 11:36:10 +0000 (13:36 +0200)
commit00949babe90c528df1ffb79439d632c7bd4f6c42
tree290df54bb859271beac6dac83aecdfc5b7b30baa
parent716df21707b9c95d61c86e1df9105d0cefe59a97
block: Accept device model name for x-blockdev-remove-medium

In order to remove the need for BlockBackend names in the external API,
we want to allow qdev device names in all device related commands.

This converts x-blockdev-remove-medium to accept a qdev device name.

As the command is experimental, we can still remove the 'device' option
that uses the BlockBackend name. This requires some test case changes
and is left for another series.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
blockdev.c
docs/qmp-commands.txt
qapi/block-core.json