[libvirt] [PATCHv2 11/62] qemu: monitor: Allow using 'id' instead of 'device' for 'block_set_io_throttle'

Ján Tomko jtomko at redhat.com
Wed Aug 15 08:30:00 UTC 2018


On Mon, Aug 13, 2018 at 05:59:45PM +0200, Peter Krempa wrote:
>The 'device' argument matches only the legacy drive alias. For blockdev
>we need to set the throttling for a QOM id and thus we'll need to use
>the 'id' field.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_driver.c       |  2 +-
> src/qemu/qemu_monitor.c      |  8 +++++---
> src/qemu/qemu_monitor.h      |  3 ++-
> src/qemu/qemu_monitor_json.c | 14 ++++++++++----
> src/qemu/qemu_monitor_json.h |  3 ++-
> tests/qemumonitorjsontest.c  |  2 +-
> 6 files changed, 21 insertions(+), 11 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180815/a035203b/attachment-0001.sig>


More information about the libvir-list mailing list