|
|
d76c62 |
From dc5c05491ab6e66cb2ce411530cb24a2cd76763b Mon Sep 17 00:00:00 2001
|
|
|
d76c62 |
Message-Id: <dc5c05491ab6e66cb2ce411530cb24a2cd76763b@dist-git>
|
|
|
d76c62 |
From: =?UTF-8?q?J=C3=A1n=20Tomko?= <jtomko@redhat.com>
|
|
|
d76c62 |
Date: Wed, 4 Mar 2020 12:42:38 +0100
|
|
|
d76c62 |
Subject: [PATCH] qemuxml2xmltest: set driver as privileged
|
|
|
d76c62 |
MIME-Version: 1.0
|
|
|
d76c62 |
Content-Type: text/plain; charset=UTF-8
|
|
|
d76c62 |
Content-Transfer-Encoding: 8bit
|
|
|
d76c62 |
|
|
|
d76c62 |
Some validation check might reject unprivileged drivers in the future.
|
|
|
d76c62 |
|
|
|
d76c62 |
Signed-off-by: Ján Tomko <jtomko@redhat.com>
|
|
|
d76c62 |
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
|
|
|
d76c62 |
Tested-by: Andrea Bolognani <abologna@redhat.com>
|
|
|
d76c62 |
(cherry picked from commit 99dc98db3d3e2381f322120bf00c25ba0501b092)
|
|
|
d76c62 |
Signed-off-by: Ján Tomko <jtomko@redhat.com>
|
|
|
d76c62 |
https://bugzilla.redhat.com/show_bug.cgi?id=1694166
|
|
|
d76c62 |
Message-Id: <e97eb61c987fdb72ced457131c6c86260dd449a0.1583322090.git.jtomko@redhat.com>
|
|
|
d76c62 |
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
|
|
|
d76c62 |
---
|
|
|
d76c62 |
tests/qemuxml2xmltest.c | 1 +
|
|
|
d76c62 |
1 file changed, 1 insertion(+)
|
|
|
d76c62 |
|
|
|
d76c62 |
diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c
|
|
|
d76c62 |
index 7c105e5207..d58259587b 100644
|
|
|
d76c62 |
--- a/tests/qemuxml2xmltest.c
|
|
|
d76c62 |
+++ b/tests/qemuxml2xmltest.c
|
|
|
d76c62 |
@@ -162,6 +162,7 @@ mymain(void)
|
|
|
d76c62 |
return EXIT_FAILURE;
|
|
|
d76c62 |
|
|
|
d76c62 |
cfg = virQEMUDriverGetConfig(&driver);
|
|
|
d76c62 |
+ driver.privileged = true;
|
|
|
d76c62 |
|
|
|
d76c62 |
# define DO_TEST_INTERNAL(_name, suffix, when, ...) \
|
|
|
d76c62 |
do { \
|
|
|
d76c62 |
--
|
|
|
d76c62 |
2.25.1
|
|
|
d76c62 |
|