]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: qemu: Use qmp schema data from the qemucapabilities test
authorPeter Krempa <pkrempa@redhat.com>
Mon, 9 Jul 2018 13:44:52 +0000 (15:44 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 10 Jul 2018 11:37:50 +0000 (13:37 +0200)
commit92a18bb5676ea9a3a73e2d2ce197a2655ef4d3b5
treed3a8a5e0bc4c35ee83f1162c8ce42f3bb26e7b39
parentad8da38e0ac0788aac4bb184443bcc3925016069
tests: qemu: Use qmp schema data from the qemucapabilities test

Add helpers that allow using the latest schema from the replies from an
actual qemu which are recorded for the purpose of the qemucapabilities
test instead of an unsynced copy stored in qemuqapischema.json.

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