summary refs log tree commit diff stats
path: root/hw/display/omap_dss.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2018-01-17 09:07:00 +0000
committerStefan Hajnoczi <stefanha@redhat.com>2018-01-22 14:02:33 +0000
commitdc15541d5998e08001194b10863fe63a916263c8 (patch)
tree65570352e806e62222e0bf7a78331829c754d1e0 /hw/display/omap_dss.c
parentb384cd95eb9c6f73ad84ed1bb0717a26e29cc78f (diff)
downloadfocaccia-qemu-dc15541d5998e08001194b10863fe63a916263c8.tar.gz
focaccia-qemu-dc15541d5998e08001194b10863fe63a916263c8.zip
block: add block_set_io_throttle virtio-blk-pci QMP example
The block_set_io_throttle command can look up BlockBackends by the
attached qdev device ID.  virtio-blk-pci is a special case because the
actual VirtIOBlock device is the "/virtio-backend" child of the PCI
adapter device.

Add a QMP schema example so clients will know how to use
block_set_io_throttle on the virtio-blk-pci device.

The alternative is to implement some sort of aliasing for qmp_get_blk()
but that is likely to cause confusion and could break future use cases.
Let's not go there.

Cc: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Message-id: 20180117090700.25811-1-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/display/omap_dss.c')
0 files changed, 0 insertions, 0 deletions