39 lines
1.3 KiB
Diff
39 lines
1.3 KiB
Diff
|
From dc5c05491ab6e66cb2ce411530cb24a2cd76763b Mon Sep 17 00:00:00 2001
|
||
|
Message-Id: <dc5c05491ab6e66cb2ce411530cb24a2cd76763b@dist-git>
|
||
|
From: =?UTF-8?q?J=C3=A1n=20Tomko?= <jtomko@redhat.com>
|
||
|
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 <jtomko@redhat.com>
|
||
|
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
|
||
|
Tested-by: Andrea Bolognani <abologna@redhat.com>
|
||
|
(cherry picked from commit 99dc98db3d3e2381f322120bf00c25ba0501b092)
|
||
|
Signed-off-by: Ján Tomko <jtomko@redhat.com>
|
||
|
https://bugzilla.redhat.com/show_bug.cgi?id=1694166
|
||
|
Message-Id: <e97eb61c987fdb72ced457131c6c86260dd449a0.1583322090.git.jtomko@redhat.com>
|
||
|
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
|
||
|
---
|
||
|
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
|
||
|
|