]> git.ipfire.org Git - thirdparty/qemu.git/commit
Suppress test warnings about missing Spectre/Meltdown mitigations with TCG
authorDavid Gibson <david@gibson.dropbear.id.au>
Tue, 12 Mar 2019 05:07:14 +0000 (16:07 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 12 Mar 2019 05:07:14 +0000 (16:07 +1100)
commitba3b40de424304c497ca4ff990dd24e37aff5f5b
tree1e6d8cc542e590bd00c90cb6d0a3114189dd8ea5
parentce2918cbc31e190e7d644c684dcc2bbcb6b9a9df
Suppress test warnings about missing Spectre/Meltdown mitigations with TCG

The new pseries-4.0 machine type defaults to enabling Spectre/Meltdown
mitigations.  Unfortunately those mitigations aren't implemented for TCG
because we're not yet sure if they're necessary or how to implement them.
We don't fail fatally, but we do warn in this case, because it is quite
plausible that Spectre/Meltdown can be exploited through TCG (at least for
the guest to get access to the qemu address space).

This create noise in our testcases though.  So, modify the affected tests
to explicitly disable the mitigations to suppress these warnings.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
tests/boot-serial-test.c
tests/prom-env-test.c
tests/pxe-test.c