diff options
author | 2024-03-14 16:26:25 -0700 | |
---|---|---|
committer | 2024-04-29 12:55:11 -0700 | |
commit | dec79eab2b48e4ae71a3e688342dce19da4212c2 (patch) | |
tree | b77e70c92ae288743bc8e2d7ffdb6b5bbe3fdbaf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: selftests: Move platform_info_test's main assert into guest code (diff) | |
download | linux-rng-dec79eab2b48e4ae71a3e688342dce19da4212c2.tar.xz linux-rng-dec79eab2b48e4ae71a3e688342dce19da4212c2.zip |
KVM: selftests: Rework platform_info_test to actually verify #GP
Rework platform_info_test to actually handle and verify the expected #GP
on RDMSR when the associated KVM capability is disabled. Currently, the
test _deliberately_ doesn't handle the #GP, and instead lets it escalated
to a triple fault shutdown.
In addition to verifying that KVM generates the correct fault, handling
the #GP will be necessary (without even more shenanigans) when a future
change to the core KVM selftests library configures the IDT and exception
handlers by default (the test subtly relies on the IDT limit being '0').
Link: https://lore.kernel.org/r/20240314232637.2538648-7-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions