]> git.proxmox.com Git - mirror_qemu.git/commit
block: Accept device model name for block_set_io_throttle
authorKevin Wolf <kwolf@redhat.com>
Tue, 20 Sep 2016 11:38:48 +0000 (13:38 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 23 Sep 2016 11:44:54 +0000 (13:44 +0200)
commit7a9877a0263561f11bae116a7639eec53a625807
treeb38c38ffce8343b1ccd407edd880a0d033b4ddd2
parent70e2cb3bd75fc7aa988f81eae854001e8fcbffe1
block: Accept device model name for block_set_io_throttle

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 block_set_io_throttle to accept a qdev device name.

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