]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemumonitorjsontest: load schema based on specified arch
authorCollin Walling <walling@linux.ibm.com>
Thu, 20 Feb 2020 22:01:46 +0000 (17:01 -0500)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 21 Feb 2020 09:50:10 +0000 (10:50 +0100)
commit6523a7ea5df91811303ea4cafa149049f9d37a87
tree0d313b5e7bb7a88beb53abe855250607493ad318
parentc312c8998c9da003fb3d30bd14827297b7402ae3
qemumonitorjsontest: load schema based on specified arch

There are some architectures that support capabilities that others
do not (e.g. s390x supports cpu comparison and baseline via QEMU).

Let's make testQEMUSchemaLoad accept a string to specify the schema
to load based on the specified arch.

Signed-off-by: Collin Walling <walling@linux.ibm.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
tests/qemublocktest.c
tests/qemuhotplugtest.c
tests/qemumonitorjsontest.c
tests/testutilsqemuschema.c
tests/testutilsqemuschema.h