[libvirt] [PATCH 1/2] tests: Prepare to use DO_TEST_CAPS_ARCH_LATEST() more

Andrea Bolognani abologna at redhat.com
Wed Sep 5 14:33:31 UTC 2018


We can add aarch64, ppc64 and riscv64 to the list of
supported architectures for the macro, since we have
capabilities data for all of them.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 tests/qemuxml2argvtest.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c
index 144e595310..cc0e5f04bf 100644
--- a/tests/qemuxml2argvtest.c
+++ b/tests/qemuxml2argvtest.c
@@ -656,7 +656,13 @@ mymain(void)
     int ret = 0, i;
     char *fakerootdir;
     bool skipLegacyCPUs = false;
-    const char *archs[] = { "x86_64", "s390x" };
+    const char *archs[] = {
+        "aarch64",
+        "ppc64",
+        "riscv64",
+        "s390x",
+        "x86_64",
+    };
     virHashTablePtr capslatest = NULL;
 
     if (VIR_STRDUP_QUIET(fakerootdir, FAKEROOTDIRTEMPLATE) < 0) {
-- 
2.17.1




More information about the libvir-list mailing list