]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: selftests: Add x86 helpers to play nice with x2APIC MSR #GPs
authorSean Christopherson <seanjc@google.com>
Fri, 19 Jul 2024 23:51:03 +0000 (16:51 -0700)
committerSean Christopherson <seanjc@google.com>
Thu, 29 Aug 2024 23:25:06 +0000 (16:25 -0700)
commitf2e91e874179a27d4c29b3f31706b37e1e6bcf54
tree1e9a9e41ee30397c4fc5833ccac527f685147c12
parented24ba6c2c3450c96dcd804f81893d11e52463cc
KVM: selftests: Add x86 helpers to play nice with x2APIC MSR #GPs

Add helpers to allow and expect #GP on x2APIC MSRs, and opportunistically
have the existing helper spit out a more useful error message if an
unexpected exception occurs.

Link: https://lore.kernel.org/r/20240719235107.3023592-7-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/include/x86_64/apic.h