diff options
author | Sean Christopherson <seanjc@google.com> | 2025-09-20 01:32:52 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2025-09-23 19:51:56 +0300 |
commit | 9c38ddb3df94acdc86485c7073610f01655309f9 (patch) | |
tree | 10c66f4d84ea32bf412b721fa74a7fc11a4d580c /tools/docs/parse-headers.py | |
parent | fddd07626baa419c259ad5f3537a57188b5bb415 (diff) | |
download | linux-9c38ddb3df94acdc86485c7073610f01655309f9.tar.xz |
KVM: selftests: Add an MSR test to exercise guest/host and read/write
Add a selftest to verify reads and writes to various MSRs, from both the
guest and host, and expect success/failure based on whether or not the
vCPU supports the MSR according to supported CPUID.
Note, this test is extremely similar to KVM-Unit-Test's "msr" test, but
provides more coverage with respect to host accesses, and will be extended
to provide addition testing of CPUID-based features, save/restore lists,
and KVM_{G,S}ET_ONE_REG, all which are extremely difficult to validate in
KUT.
If kvm.ignore_msrs=true, skip the unsupported and reserved testcases as
KVM's ABI is a mess; what exactly is supposed to be ignored, and when,
varies wildly.
Reviewed-by: Chao Gao <chao.gao@intel.com>
Link: https://lore.kernel.org/r/20250919223258.1604852-46-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions