[PATCH 7/7] qemu: Don't request nested entries in qemuBlockGetNamedNodeData

Ján Tomko jtomko at redhat.com
Wed Feb 26 12:21:08 UTC 2020


On Wed, Feb 26, 2020 at 01:05:03PM +0100, Peter Krempa wrote:
>Use the 'flat' flag for 'query-named-block-nodes' if qemu supports
>QEMU_CAPS_QMP_QUERY_NAMED_BLOCK_NODES_FLAT in qemuBlockGetNamedNodeData.
>
>We don't need the data so plumb in whether qemu supports the
>'flat' output.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_block.c        | 4 +++-
> src/qemu/qemu_monitor.c      | 7 +++++--
> src/qemu/qemu_monitor.h      | 3 ++-
> src/qemu/qemu_monitor_json.c | 5 +++--
> src/qemu/qemu_monitor_json.h | 3 ++-
> 5 files changed, 15 insertions(+), 7 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: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200226/0a661215/attachment-0001.sig>


More information about the libvir-list mailing list