]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
testutilsqemu: Drop support for fake-caps testing of 'ppc' 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 ac4e59fa1a73668be9d8abb722f993afcc49f16c..57960f04d59bd389d05ee24e0d55796ed4d22834 100644 (file)
@@ -31,7 +31,6 @@ static const char *qemu_emulators[VIR_ARCH_LAST] = {
     [VIR_ARCH_AARCH64] = "/usr/bin/qemu-system-aarch64",
     [VIR_ARCH_ARMV7L] = "/usr/bin/qemu-system-arm",
     [VIR_ARCH_PPC64] = "/usr/bin/qemu-system-ppc64",
-    [VIR_ARCH_PPC] = "/usr/bin/qemu-system-ppc",
     [VIR_ARCH_S390X] = "/usr/bin/qemu-system-s390x",
 };
 
@@ -56,9 +55,6 @@ static const char *const arm_machines[] = {
 static const char *const ppc64_machines[] = {
     "pseries", NULL
 };
-static const char *const ppc_machines[] = {
-    "ppce500", NULL
-};
 static const char *const s390x_machines[] = {
     "s390-ccw-virtio", NULL
 };
@@ -69,7 +65,6 @@ static const char *const *qemu_machines[VIR_ARCH_LAST] = {
     [VIR_ARCH_AARCH64] = aarch64_machines,
     [VIR_ARCH_ARMV7L] = arm_machines,
     [VIR_ARCH_PPC64] = ppc64_machines,
-    [VIR_ARCH_PPC] = ppc_machines,
     [VIR_ARCH_S390X] = s390x_machines,
 };
 
@@ -79,7 +74,6 @@ static const char *const *hvf_machines[VIR_ARCH_LAST] = {
     [VIR_ARCH_AARCH64] = aarch64_machines,
     [VIR_ARCH_ARMV7L] = NULL,
     [VIR_ARCH_PPC64] = NULL,
-    [VIR_ARCH_PPC] = NULL,
     [VIR_ARCH_RISCV64] = NULL,
     [VIR_ARCH_S390X] = NULL,
 };
@@ -90,7 +84,6 @@ static const char *qemu_default_ram_id[VIR_ARCH_LAST] = {
     [VIR_ARCH_AARCH64] = "mach-virt.ram",
     [VIR_ARCH_ARMV7L] = "vexpress.highmem",
     [VIR_ARCH_PPC64] = "ppc_spapr.ram",
-    [VIR_ARCH_PPC] = "ppc_spapr.ram",
     [VIR_ARCH_S390X] = "s390.ram",
 };