]> git.ipfire.org Git - thirdparty/libvirt.git/commit
testQEMUSchemaValidate(Command): Allow skipping validation of deprecated fields
authorPeter Krempa <pkrempa@redhat.com>
Wed, 29 Apr 2020 15:52:43 +0000 (17:52 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 20 May 2020 06:53:29 +0000 (08:53 +0200)
commit4fcea23e6c8470ec3f06ce2660f397e9c50da372
tree7ea62c3c667346060c3fdcd16e3b5c17ad3e3a9f
parent2c44ea900eee6d33b8cc508c051d71d377fc7705
testQEMUSchemaValidate(Command): Allow skipping validation of deprecated fields

Some test cases are used to validate interactions with old qemu. We need
to skip validation of deprecation with those once it will be added.

In case of commands which were already replaced by code based on
capabilities we can skip the full validation once the command is
removed.

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