[libvirt] [PATCH RFC 03/39] qemu: monitor: Allow using 'qdev' instead of 'device' for getting disk throttling

Ján Tomko jtomko at redhat.com
Mon Jul 30 11:52:34 UTC 2018


On Wed, Jul 25, 2018 at 05:57:34PM +0200, Peter Krempa wrote:
>The 'device' field reported by 'query-block' is empty when -blockdev is
>used. Add an argument which will allow matching disk by using the qdev
>id so we can use this code with -blockdev.
>
>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 | 21 ++++++++++++++-------
> src/qemu/qemu_monitor_json.h |  3 ++-
> tests/qemumonitorjsontest.c  |  2 +-
> 6 files changed, 25 insertions(+), 14 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/20180730/d2f94e58/attachment-0001.sig>


More information about the libvir-list mailing list