]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: selftests: Verify the guest can read back the x2APIC ICR it wrote
authorSean Christopherson <seanjc@google.com>
Fri, 19 Jul 2024 23:51:06 +0000 (16:51 -0700)
committerSean Christopherson <seanjc@google.com>
Thu, 29 Aug 2024 23:25:06 +0000 (16:25 -0700)
commit0cb26ec320851f685280ff061f84855d0e97bf86
tree087a57b05ab0dc716024acbc5229c6294525b49a
parent3426cb48adb4dc00b75e89c95d257d699f4d75ce
KVM: selftests: Verify the guest can read back the x2APIC ICR it wrote

Now that the BUSY bit mess is gone (for x2APIC), verify that the *guest*
can read back the ICR value that it wrote.  Due to the divergent
behavior between AMD and Intel with respect to the backing storage of the
ICR in the vAPIC page, emulating a seemingly simple MSR write is quite
complex.

Link: https://lore.kernel.org/r/20240719235107.3023592-10-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/x86_64/xapic_state_test.c