]> git.proxmox.com Git - mirror_qemu.git/commit
block: Accept device model name for x-blockdev-insert-medium
authorKevin Wolf <kwolf@redhat.com>
Tue, 20 Sep 2016 11:38:44 +0000 (13:38 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 23 Sep 2016 11:36:10 +0000 (13:36 +0200)
commit716df21707b9c95d61c86e1df9105d0cefe59a97
tree8f1d58314e1a0aca32e9952786263ed9777f0d2f
parentb33945cfffcc3f847122dbf5db00fff28161c593
block: Accept device model name for x-blockdev-insert-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-insert-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