]> git.ipfire.org Git - thirdparty/libvirt.git/commit
testQEMUSchemaValidateCommand: Add possibility for partial QMP validation
authorPeter Krempa <pkrempa@redhat.com>
Fri, 15 Oct 2021 10:06:14 +0000 (12:06 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 18 Oct 2021 12:00:58 +0000 (14:00 +0200)
commitb17fd211e25991edffa2401e01f54daed1927699
treed659ed901f6ad47903aea96ef1ad0133e4b4d964
parent387c900de9ef4aae17b4b9634a9a54c64eb475e6
testQEMUSchemaValidateCommand: Add possibility for partial QMP validation

The QMP schema for 'device_add' is not complete yet. Allow validation of
incomplete schema so that we can enable at least some validation. Once
there's more schema in the future all present members are still
validated.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemumigparamstest.c
tests/qemumigrationcookiexmltest.c
tests/qemumonitortestutils.c
tests/qemuxml2argvtest.c
tests/testutilsqemuschema.c
tests/testutilsqemuschema.h