[PATCH 13/21] testutilsqemu: Remove unused fake-caps x86 machine types

Peter Krempa pkrempa at redhat.com
Thu Jan 6 09:44:12 UTC 2022


None of our tests reference 'isapc', and 'pc-i440fx-2.6'.

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

diff --git a/tests/testutilsqemu.c b/tests/testutilsqemu.c
index 980555b27e..bf3f919dde 100644
--- a/tests/testutilsqemu.c
+++ b/tests/testutilsqemu.c
@@ -41,18 +41,11 @@ static const virArch arch_alias[VIR_ARCH_LAST] = {
 };

 static const char *const i386_machines[] = {
-    "pc", "isapc", NULL
+    "pc", NULL
 };
-/**
- * Oldest supported qemu-2.11 supports machine types back to pc-0.10.
- */
+
 static const char *const x86_64_machines[] = {
-    "pc", "isapc", "q35",
-    "pc-1.0", "pc-1.2",
-    "pc-i440fx-1.4", "pc-i440fx-2.1", "pc-i440fx-2.3", "pc-i440fx-2.5",
-    "pc-i440fx-2.6", "pc-i440fx-2.9", "pc-i440fx-2.12",
-    "pc-q35-2.3", "pc-q35-2.4", "pc-q35-2.5", "pc-q35-2.7", "pc-q35-2.10",
-    NULL
+    "pc", "q35", NULL
 };
 static const char *const aarch64_machines[] = {
     "virt", "virt-2.6", "versatilepb", NULL
-- 
2.31.1




More information about the libvir-list mailing list