tests/qtest/arm-cpu-features: Add feature setting tests
commit92a70997ad6dcff865b0071475a878a4fa478da5
authorAndrew Jones <drjones@redhat.com>
Tue, 23 Jun 2020 09:06:21 +0000 (23 11:06 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 23 Jun 2020 10:39:47 +0000 (23 11:39 +0100)
tree01aa8cf146e5740a2dfed11e2e90e0e197ee52d9
parent7d20e6815bf5ab678a55673224340b39218be510
tests/qtest/arm-cpu-features: Add feature setting tests

Some cpu features may be enabled and disabled for all configurations
that support the feature. Let's test that.

A recent regression[*] inspired adding these tests.

[*] '-cpu host,pmu=on' caused a segfault

Signed-off-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20200623090622.30365-2-philmd@redhat.com
Message-Id: <20200623082310.17577-1-drjones@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
tests/qtest/arm-cpu-features.c