]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: Create privileged config for QEMU driver
authorAndrea Bolognani <abologna@redhat.com>
Thu, 2 Mar 2023 16:59:01 +0000 (17:59 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 6 Mar 2023 13:35:35 +0000 (14:35 +0100)
commit2f56f69f7f7e0e4bbaa96158f65a7f463898490f
tree901a25e03879c60783c9b1d0ab26c0f5d2766bfc
parentd3fe9cc0f018a4bb225d2b8f12fb4d58d1ab568b
tests: Create privileged config for QEMU driver

Our QEMU test suite effectively covers the qemu:///system
scenario, and we have to partially replace the unprivileged
config with its privileged equivalent after the fact to keep up
the illusion.

Instead of jumping through these extra hoops, we can simply
start with a privileged configuration matching the privileged
driver we're creating for test programs.

This change highlights that we were missing a couple of
overrides, specifically in the tests for passt and dbus. Now
that we're creating a privileged config, this kind of issue
shouldn't be able to slip into the test suite.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
tests/qemuxml2argvdata/graphics-dbus.args
tests/qemuxml2argvdata/net-user-passt.x86_64-7.2.0.args
tests/qemuxml2argvdata/net-user-passt.x86_64-latest.args
tests/testutilsqemu.c