]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests/testutilsqemu: properly initialize qemu caps for tests
authorPavel Hrdina <phrdina@redhat.com>
Tue, 11 Apr 2017 12:02:06 +0000 (14:02 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Tue, 11 Apr 2017 12:06:47 +0000 (14:06 +0200)
commit8d04ea1661ba899e5798851aa1fe58a4d390f884
tree981d8e2471d10ea5d929c888fc209c5ae6d139ab
parente6e26a899df05e3c1b36c40eef5ba0a4b1e36f95
tests/testutilsqemu: properly initialize qemu caps for tests

This removes the hacky extern global variable and modifies the
test code to properly create QEMU capabilities cache for QEMU
binaries used in our tests.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
src/qemu/qemu_capabilities.c
tests/qemuhotplugtest.c
tests/qemuxml2argvtest.c
tests/qemuxml2xmltest.c
tests/testutilsqemu.c
tests/testutilsqemu.h