diff options
author | Sean Christopherson <seanjc@google.com> | 2024-03-15 02:26:25 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-04-29 22:55:11 +0300 |
commit | dec79eab2b48e4ae71a3e688342dce19da4212c2 (patch) | |
tree | b77e70c92ae288743bc8e2d7ffdb6b5bbe3fdbaf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 53635ec253c025aeb0e4401e586a8f7827cd7817 (diff) | |
download | linux-dec79eab2b48e4ae71a3e688342dce19da4212c2.tar.xz |
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