diff options
author | Peter Krempa <pkrempa@redhat.com> | 2020-05-15 14:33:10 +0200 |
---|---|---|
committer | Peter Krempa <pkrempa@redhat.com> | 2020-05-20 09:41:58 +0200 |
commit | 576746d4122f1f969bb172a312ef187ac097961a (patch) | |
tree | 5dfdbc2f3a19ca22d629a3a00a572e2ab5b3d926 /tests/testutilsqemu.h | |
parent | b6246d9320bf8f33e9f34a34c7a651f1033aa1cc (diff) | |
download | libvirt-576746d4122f1f969bb172a312ef187ac097961a.tar.gz |
qemuxml2argvtest: Add QAPI/QMP schema validation for -blockdev and -netdev
Our hotplug test cases are weak in comparison to the qemuxml2argvtest.
Use all the the input data to also validate the arguments for -netdev
and -blockdev against the appropriate commands of the QMP schema.
Note that currently it's done just for the _CAPS versions of tests but
commenting out a line in the test file allows to validate even cases
which don't use real capabilities.
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/testutilsqemu.h')
-rw-r--r-- | tests/testutilsqemu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/testutilsqemu.h b/tests/testutilsqemu.h index edee6e450c..e7c5032012 100644 --- a/tests/testutilsqemu.h +++ b/tests/testutilsqemu.h @@ -64,6 +64,7 @@ struct testQemuInfo { unsigned int flags; unsigned int parseFlags; virArch arch; + char *schemafile; }; virCapsPtr testQemuCapsInit(void); |