
8 Sep
2025
8 Sep
'25
9:19 a.m.
On Thu, Sep 04, 2025 at 16:46:54 +0200, Jiri Denemark via Devel wrote:
From: Jiri Denemark <jdenemar@redhat.com>
The qemuMonitorJSONParsePropsList API expected a QMP reply as an input. By generalizing it to work on any JSON array, we can reuse the API even for commands which return the array of properties nested in an object.
Signed-off-by: Jiri Denemark <jdenemar@redhat.com> --- src/qemu/qemu_monitor_json.c | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-)
Reviewed-by: Peter Krempa <pkrempa@redhat.com>