Re: [PATCH 6/7] qemu: monitor: Add 'flat' parameter for qemuMonitorJSONQueryNamedBlockNodes

2020-02-26 Thread Ján Tomko
On Wed, Feb 26, 2020 at 01:05:02PM +0100, Peter Krempa wrote: Modern qemu allows to skip the nested redundant data in the output of query-named-block-nodes. Plumb in the support for the argument that enables it. Signed-off-by: Peter Krempa --- src/qemu/qemu_monitor.c | 2 +- src/qemu/qemu_

[PATCH 6/7] qemu: monitor: Add 'flat' parameter for qemuMonitorJSONQueryNamedBlockNodes

2020-02-26 Thread Peter Krempa
Modern qemu allows to skip the nested redundant data in the output of query-named-block-nodes. Plumb in the support for the argument that enables it. Signed-off-by: Peter Krempa --- src/qemu/qemu_monitor.c | 2 +- src/qemu/qemu_monitor_json.c | 11 +++ src/qemu/qemu_monitor_json.h