From dc5c05491ab6e66cb2ce411530cb24a2cd76763b Mon Sep 17 00:00:00 2001 Message-Id: From: =?UTF-8?q?J=C3=A1n=20Tomko?= Date: Wed, 4 Mar 2020 12:42:38 +0100 Subject: [PATCH] qemuxml2xmltest: set driver as privileged MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some validation check might reject unprivileged drivers in the future. Signed-off-by: Ján Tomko Reviewed-by: Peter Krempa Tested-by: Andrea Bolognani (cherry picked from commit 99dc98db3d3e2381f322120bf00c25ba0501b092) Signed-off-by: Ján Tomko https://bugzilla.redhat.com/show_bug.cgi?id=1694166 Message-Id: Reviewed-by: Michal Privoznik --- tests/qemuxml2xmltest.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c index 7c105e5207..d58259587b 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.25.1