mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
tests: Set the QEMU driver as privileged in common code
Most test programs were already doing this, and moving it to the common code ensures we see consistent behavior across all QEMU tests. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
@@ -51,8 +51,6 @@ mymain(void)
|
||||
if (qemuTestDriverInit(&driver) < 0)
|
||||
return EXIT_FAILURE;
|
||||
|
||||
driver.privileged = true;
|
||||
|
||||
# define DO_TEST(name, memlock) \
|
||||
do { \
|
||||
static struct testInfo info = { \
|
||||
|
||||
Reference in New Issue
Block a user