[libvirt PATCHv5 04/15] qemuxml2xmltest: set driver as privileged

Ján Tomko jtomko at redhat.com
Wed Feb 26 11:57:02 UTC 2020


Some validation check might reject unprivileged drivers in the future.

Signed-off-by: Ján Tomko <jtomko at redhat.com>
---
 tests/qemuxml2xmltest.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c
index c29dd5053d..914f503516 100644
--- a/tests/qemuxml2xmltest.c
+++ b/tests/qemuxml2xmltest.c
@@ -162,6 +162,7 @@ mymain(void)
         return EXIT_FAILURE;
 
     cfg = virQEMUDriverGetConfig(&driver);
+    driver.privileged = true;
 
 # define DO_TEST_INTERNAL(_name, suffix, when, ...) \
     do { \
-- 
2.24.1




More information about the libvir-list mailing list