]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu-replies-tool: Add validation of known fields in 'query-qmp-schema'
authorPeter Krempa <pkrempa@redhat.com>
Mon, 15 Jan 2024 16:07:51 +0000 (17:07 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 1 Feb 2024 09:51:48 +0000 (10:51 +0100)
commitcf9b5656c891aede2710d2b90e5c1d489663ae5f
treea823aeed1b52bf7320426cd4caadb379f4be72fd
parent29aa1c2f4c63141e5d60e0dc5f10a1768c5c7db6
qemu-replies-tool: Add validation of known fields in 'query-qmp-schema'

If the schema itself is extended in qemu we need to have a notification
to add appropriate handling to ensure that we have full coverage of all
fields.

Add validation that only fields that libvirt currently knows about are
present in the schema.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
scripts/qemu-replies-tool.py