[PATCH 08/31] testutilsqemu: Drop support for fake-caps testing of 'sparc' architecture

Peter Krempa pkrempa at redhat.com
Fri Mar 3 14:27:42 UTC 2023


All tests were converted to use real capabilities so there's no need to
support the infrastructure for fake tests.

Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 tests/testutilsqemu.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/tests/testutilsqemu.c b/tests/testutilsqemu.c
index 6d2d2dc83e..3acad37f26 100644
--- a/tests/testutilsqemu.c
+++ b/tests/testutilsqemu.c
@@ -35,7 +35,6 @@ static const char *qemu_emulators[VIR_ARCH_LAST] = {
     [VIR_ARCH_RISCV32] = "/usr/bin/qemu-system-riscv32",
     [VIR_ARCH_RISCV64] = "/usr/bin/qemu-system-riscv64",
     [VIR_ARCH_S390X] = "/usr/bin/qemu-system-s390x",
-    [VIR_ARCH_SPARC] = "/usr/bin/qemu-system-sparc",
 };

 static const virArch arch_alias[VIR_ARCH_LAST] = {
@@ -71,9 +70,6 @@ static const char *const riscv64_machines[] = {
 static const char *const s390x_machines[] = {
     "s390-ccw-virtio", NULL
 };
-static const char *const sparc_machines[] = {
-    "SS-5", NULL
-};

 static const char *const *qemu_machines[VIR_ARCH_LAST] = {
     [VIR_ARCH_I686] = i386_machines,
@@ -85,7 +81,6 @@ static const char *const *qemu_machines[VIR_ARCH_LAST] = {
     [VIR_ARCH_RISCV32] = riscv32_machines,
     [VIR_ARCH_RISCV64] = riscv64_machines,
     [VIR_ARCH_S390X] = s390x_machines,
-    [VIR_ARCH_SPARC] = sparc_machines,
 };

 static const char *const *kvm_machines[VIR_ARCH_LAST] = {
@@ -120,7 +115,6 @@ static const char *qemu_default_ram_id[VIR_ARCH_LAST] = {
     [VIR_ARCH_PPC64] = "ppc_spapr.ram",
     [VIR_ARCH_PPC] = "ppc_spapr.ram",
     [VIR_ARCH_S390X] = "s390.ram",
-    [VIR_ARCH_SPARC] = "sun4m.ram",
 };

 char *
-- 
2.39.2



More information about the libvir-list mailing list