aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-02-05 15:43:39 +0100
committerThomas Huth <thuth@redhat.com>2021-02-19 06:29:04 +0100
commit421954f43b938bc48eb4ebad0d9953490cb4bfcc (patch)
tree034821fd8319770ff3628dd29997cc72087e2991
parentc79f01c9450bcf90c08a77f13fbf67bdba59a316 (diff)
downloadqemu-421954f43b938bc48eb4ebad0d9953490cb4bfcc.zip
qemu-421954f43b938bc48eb4ebad0d9953490cb4bfcc.tar.gz
qemu-421954f43b938bc48eb4ebad0d9953490cb4bfcc.tar.bz2
tests/qtest/boot-serial-test: Test Virt machine with 'max'
When using KVM, using a specific cpu type will only work if the host CPU really is that exact CPU type. During testing we can simply use the 'max' CPU which will select all the features available from the host. This allow running this test on a Cavium CN8890 (ThunderX cores). Suggested-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20210205144345.2068758-4-f4bug@amsat.org> Reviewed-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
-rw-r--r--tests/qtest/boot-serial-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qtest/boot-serial-test.c b/tests/qtest/boot-serial-test.c
index b6b1c23..d74509b 100644
--- a/tests/qtest/boot-serial-test.c
+++ b/tests/qtest/boot-serial-test.c
@@ -149,7 +149,7 @@ static testdef_t tests[] = {
{ "arm", "raspi2", "", "TT", sizeof(bios_raspi2), 0, bios_raspi2 },
/* For hppa, force bios to output to serial by disabling graphics. */
{ "hppa", "hppa", "-vga none", "SeaBIOS wants SYSTEM HALT" },
- { "aarch64", "virt", "-cpu cortex-a57", "TT", sizeof(kernel_aarch64),
+ { "aarch64", "virt", "-cpu max", "TT", sizeof(kernel_aarch64),
kernel_aarch64 },
{ "arm", "microbit", "", "T", sizeof(kernel_nrf51), kernel_nrf51 },