On a Monday in 2021, Peter Krempa wrote:
Kevin's patches were committed upstream, so libvirt can start
using the
JSON syntax now.
This patch adds also validation of the parameters against the
QMP schema, but the schema is incomplete for now.
Peter Krempa (6):
qemucapabilitiestest: Update qemu-6.2 cycle capability test data
testQEMUSchemaValidateCommand: Add possibility for partial QMP
validation
qemuMonitorTestProcessCommandDefaultValidate: Partially validate
'device_add'
qemu: Use JSON directly for '-device'
testCompareXMLToArgvValidateSchemaCommand: Add validation for
'-device'
NEWS: Mention conversion of '-device' to JSON starting with QEMU-6.2
NEWS.rst | 7 ++
src/qemu/qemu_capabilities.c | 1 +
.../caps_6.2.0.x86_64.replies | 99 ++++++++++---------
.../caps_6.2.0.x86_64.xml | 3 +-
.../x86_64-q35-graphics.x86_64-latest.args | 34 +++----
.../x86_64-q35-headless.x86_64-latest.args | 30 +++---
tests/qemuxml2argvtest.c | 12 ++-
tests/testutilsqemuschema.c | 11 ++-
tests/testutilsqemuschema.h | 1 +
266 files changed, 1123 insertions(+), 1093 deletions(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano