[kvm-unit-tests PATCH 0/3] x86: Add testcases for x2APIC MSRs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add tests to verify that RDMSR and WRMSR to x2APIC MSRs behave according
to Intel's architecture, e.g. that writes to read-only MSRs and reads to
write-only MSRs #GP, accesses to non-existent MSRs #GP, etc... 

Many of the testcases fail without the associated KVM fixes:
https://lore.kernel.org/all/20230107011025.565472-1-seanjc@xxxxxxxxxx

Sean Christopherson (3):
  x86/msr: Skip built-in testcases if user provides custom MSR+value to
    test
  x86/apic: Refactor x2APIC reg helper to provide exact semantics
  x86/msr: Add testcases for x2APIC MSRs

 lib/x86/apic.h  |  59 ++++++++++---
 x86/msr.c       | 229 ++++++++++++++++++++++++++++++++----------------
 x86/vmx_tests.c |   6 +-
 3 files changed, 203 insertions(+), 91 deletions(-)


base-commit: e11a0e2f881d7bc038f44d8d4f99b2d55a01bc4e
-- 
2.39.0.314.g84b9a713c41-goog




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux