[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/9] tests/qtest/boot-serial-test: Test Virt machine with 'ma
From: |
Andrew Jones |
Subject: |
Re: [PATCH 3/9] tests/qtest/boot-serial-test: Test Virt machine with 'max' |
Date: |
Fri, 5 Feb 2021 16:02:15 +0100 |
On Fri, Feb 05, 2021 at 03:43:39PM +0100, Philippe Mathieu-Daudé wrote:
> 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>
> ---
> 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 b6b1c23cd01..d74509b1c57 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.26.2
>
>
Reviewed-by: Andrew Jones <drjones@redhat.com>
- Re: [PATCH 1/9] tests/qtest/arm-cpu-features: Remove Cortex-A15 check, (continued)
- Re: [PATCH 1/9] tests/qtest/arm-cpu-features: Remove Cortex-A15 check, Philippe Mathieu-Daudé, 2021/02/05
- Re: [PATCH 1/9] tests/qtest/arm-cpu-features: Remove Cortex-A15 check, Andrew Jones, 2021/02/05
- Re: [PATCH 1/9] tests/qtest/arm-cpu-features: Remove Cortex-A15 check, Philippe Mathieu-Daudé, 2021/02/05
- Re: [PATCH 1/9] tests/qtest/arm-cpu-features: Remove Cortex-A15 check, Andrew Jones, 2021/02/06
- Re: [PATCH 1/9] tests/qtest/arm-cpu-features: Remove Cortex-A15 check, John Snow, 2021/02/08
[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
- Re: [PATCH 3/9] tests/qtest/boot-serial-test: Test Virt machine with 'max',
Andrew Jones <=
[PATCH 4/9] tests/qtest/cdrom-test: Only allow the Virt machine under KVM, Philippe Mathieu-Daudé, 2021/02/05
[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