[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 01/10] tests/qtest/boot-serial-test: Test Virt machine with 'max'
From: |
Thomas Huth |
Subject: |
[PULL 01/10] tests/qtest/boot-serial-test: Test Virt machine with 'max' |
Date: |
Fri, 19 Feb 2021 08:57:29 +0100 |
From: Philippe Mathieu-Daudé <f4bug@amsat.org>
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>
---
tests/qtest/boot-serial-test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/qtest/boot-serial-test.c b/tests/qtest/boot-serial-test.c
index b6b1c23cd0..d74509b1c5 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 },
--
2.27.0
- [PULL 00/10] gitlab and qtest patches, Thomas Huth, 2021/02/19
- [PULL 01/10] tests/qtest/boot-serial-test: Test Virt machine with 'max',
Thomas Huth <=
- [PULL 02/10] gitlab: always build container images, Thomas Huth, 2021/02/19
- [PULL 03/10] gitlab: add fine grained job deps for all build jobs, Thomas Huth, 2021/02/19
- [PULL 04/10] gitlab: fix inconsistent indentation, Thomas Huth, 2021/02/19
- [PULL 05/10] gitlab-ci: Display Avocado log content when tests timeout, Thomas Huth, 2021/02/19
- [PULL 08/10] tests/qtest/boot-sector: Check that the guest did not panic, Thomas Huth, 2021/02/19
- [PULL 06/10] scripts/checkpatch: Improve the check for authors mangled by the mailing list, Thomas Huth, 2021/02/19
- [PULL 10/10] travis.yml: Limit simultaneous jobs to 3, Thomas Huth, 2021/02/19
- [PULL 09/10] gitlab-ci.yml: Run check-tcg with TCI, Thomas Huth, 2021/02/19
- [PULL 07/10] gitlab-ci: Disable vhost-kernel in build-disable job, Thomas Huth, 2021/02/19
- Re: [PULL 00/10] gitlab and qtest patches, Peter Maydell, 2021/02/19