OSDN Git Service

tests/qtest: Adjust and document query-cpu-model-expansion test for arm
authorFabiano Rosas <farosas@suse.de>
Wed, 26 Apr 2023 18:00:06 +0000 (15:00 -0300)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 2 May 2023 09:21:32 +0000 (10:21 +0100)
commit557ed03a281d845b0a73d56204e91b22982c7c95
tree337c56557865967ad41c5b790796dc420b8655ec
parent39920a04952b67fb1fce8fc3519ac18b7a95f3f3
tests/qtest: Adjust and document query-cpu-model-expansion test for arm

We're about to move the 32-bit CPUs under CONFIG_TCG, so adjust the
query-cpu-model-expansion test to check against the cortex-a7, which
is already under CONFIG_TCG. That allows the next patch to contain
only code movement. (All the test cares about is that the CPU type
it's checking is one which definitely doesn't work under KVM.)

While here add comments clarifying what we're testing.

Signed-off-by: Fabiano Rosas <farosas@suse.de>
Acked-by: Thomas Huth <thuth@redhat.com>
Message-id: 20230426180013.14814-7-farosas@suse.de
Suggested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
tests/qtest/arm-cpu-features.c