]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: selftests: Add coverage for KVM-defined registers in MSRs test
authorSean Christopherson <seanjc@google.com>
Fri, 19 Sep 2025 22:32:56 +0000 (15:32 -0700)
committerSean Christopherson <seanjc@google.com>
Tue, 23 Sep 2025 16:59:44 +0000 (09:59 -0700)
commit3469fd203bac201ad67d9586041689c4c6a87882
treef27dc394c73a9f870f2e7ea5da9be387b7267b9d
parent80c2b6d8e7bb194744f5fdfc4f0560e053ababda
KVM: selftests: Add coverage for KVM-defined registers in MSRs test

Add test coverage for the KVM-defined GUEST_SSP "register" in the MSRs
test.  While _KVM's_ goal is to not tie the uAPI of KVM-defined registers
to any particular internal implementation, i.e. to not commit in uAPI to
handling GUEST_SSP as an MSR, treating GUEST_SSP as an MSR for testing
purposes is a-ok and is a naturally fit given the semantics of SSP.

Reviewed-by: Chao Gao <chao.gao@intel.com>
Link: https://lore.kernel.org/r/20250919223258.1604852-50-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/x86/msrs_test.c