[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 4/9] tests/qtest/cdrom-test: Only allow the Virt machine under KV
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 4/9] tests/qtest/cdrom-test: Only allow the Virt machine under KVM |
Date: |
Fri, 5 Feb 2021 15:43:40 +0100 |
Only the Virt and Versal machines are supported under KVM.
Restrict the other ones to TCG.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
tests/qtest/cdrom-test.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tests/qtest/cdrom-test.c b/tests/qtest/cdrom-test.c
index 5af944a5fb7..ac02f2bb4f1 100644
--- a/tests/qtest/cdrom-test.c
+++ b/tests/qtest/cdrom-test.c
@@ -222,9 +222,12 @@ int main(int argc, char **argv)
add_cdrom_param_tests(mips64machines);
} else if (g_str_equal(arch, "arm") || g_str_equal(arch, "aarch64")) {
const char *armmachines[] = {
+#ifdef CONFIG_TCG
"realview-eb", "realview-eb-mpcore", "realview-pb-a8",
"realview-pbx-a9", "versatileab", "versatilepb", "vexpress-a15",
- "vexpress-a9", "virt", NULL
+ "vexpress-a9",
+#endif /* CONFIG_TCG */
+ "virt", NULL
};
add_cdrom_param_tests(armmachines);
} else {
--
2.26.2
- Re: [PATCH 1/9] tests/qtest/arm-cpu-features: Remove Cortex-A15 check, (continued)
[PATCH 2/9] tests/qtest: Restrict xlnx-can-test to TCG builds, Philippe Mathieu-Daudé, 2021/02/05
[PATCH 3/9] tests/qtest/boot-serial-test: Test Virt machine with 'max', Philippe Mathieu-Daudé, 2021/02/05
[PATCH 4/9] tests/qtest/cdrom-test: Only allow the Virt machine under KVM,
Philippe Mathieu-Daudé <=
[PATCH 7/9] hw/arm/virt: Do not include 64-bit CPUs in 32-bit build, Philippe Mathieu-Daudé, 2021/02/05
[PATCH 6/9] hw/arm/virt: Display list of valid CPUs for the Virt machine, Philippe Mathieu-Daudé, 2021/02/05
[PATCH 5/9] hw/arm/virt: Improve CPU name in help message, Philippe Mathieu-Daudé, 2021/02/05