Skip to content

KVM: x86: Fix goofs with MONITOR/MWAIT quirk

Sean Christopherson kvm lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3KVM: selftests: Test MONITOR and MWAIT, not just MONITOR for quirktools/testing/selftests/kvm/x86_64/monitor_mwait_test.c+1 -10 replies
2/3KVM: selftests: Provide valid inputs for MONITOR/MWAIT regstools/testing/selftests/kvm/x86_64/monitor_mwait_test.c+6 -20 replies
3/3KVM: x86: Tweak name of MONITOR/MWAIT #UD quirk to make it #UD specificDocumentation/virt/kvm/api.rst arch/x86/include/asm/kvm_host.h arch/x86/include/uapi/asm/kvm.h +2 more+5 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] KVM: x86: Fix goofs with MONITOR/MWAIT quirk

Fix two bugs in the MONITOR/MWAIT selftest, and tweak the name of the quirk (which isn't yet set in stone) to clarify that it only applies to the #UD behavior, i.e. to reserve the right to correctly emulate #GP and other faults in the future even if the quirk is enabled.

Sean Christopherson (3):
KVM: selftests: Test MONITOR and MWAIT, not just MONITOR for quirk
KVM: selftests: Provide valid inputs for MONITOR/MWAIT regs
KVM: x86: Tweak name of MONITOR/MWAIT #UD quirk to make it #UD
specific

 Documentation/virt/kvm/api.rst                         |  2 +-
 arch/x86/include/asm/kvm_host.h                        |  2 +-
 arch/x86/include/uapi/asm/kvm.h                        |  2 +-
 arch/x86/kvm/x86.c                                     |  2 +-
 .../testing/selftests/kvm/x86_64/monitor_mwait_test.c  | 10 +++++++---
 5 files changed, 11 insertions(+), 7 deletions(-)

base-commit: b9b71f43683ae9d76b0989249607bbe8c9eb6c5c

Signature · 1 line
2.37.0.144.g8ac04bfd2-goog