]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Generalize filtering in qemuMonitorJSONParsePropsList
authorJiri Denemark <jdenemar@redhat.com>
Wed, 27 Aug 2025 08:05:23 +0000 (10:05 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 8 Sep 2025 13:32:47 +0000 (15:32 +0200)
commit001769452b3610f17f223e49c7295c634a69ae98
tree124f0f85d0140f96c4946e6c4a102cf8845b4825
parent5935abb72c866cb448b08e53e642fd31b9741468
qemu: Generalize filtering in qemuMonitorJSONParsePropsList

qemuMonitorJSONParsePropsList supported filtering based on type. Let's
replace it with a callback supplied by the caller to allow for more
advanced filtering.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_monitor_json.c