]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
testutilsqemu: Drop support for fake-caps testing of 'sparc' architecture
authorPeter Krempa <pkrempa@redhat.com>
Thu, 2 Mar 2023 15:58:06 +0000 (16:58 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 6 Mar 2023 19:55:50 +0000 (20:55 +0100)
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@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/testutilsqemu.c

index 89c257fe0efc8ab30ae8ee82c34b27d3a192eab6..fdd1e68384507826d13170a0debb154adfe437ee 100644 (file)
@@ -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 *