diff options
author | Sean Christopherson <[email protected]> | 2024-03-14 16:26:25 -0700 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2024-04-29 12:55:11 -0700 |
commit | dec79eab2b48e4ae71a3e688342dce19da4212c2 (patch) | |
tree | b77e70c92ae288743bc8e2d7ffdb6b5bbe3fdbaf /include/linux/overflow.h | |
parent | 53635ec253c025aeb0e4401e586a8f7827cd7817 (diff) |
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/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions