Skip to content

KVM: x86: Clean up MP_STATE transitions

Jim Mattson kvm lkml 1 version Applied

Status from this message: Applied to kvm-x86 misc, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2KVM: x86: Introduce kvm_set_mp_state()arch/x86/kvm/lapic.c arch/x86/kvm/svm/nested.c arch/x86/kvm/svm/sev.c +4 more+23 -191 reply
2/2KVM: x86: Clear pv_unhalted on all transitions to KVM_MP_STATE_RUNNABLEarch/x86/kvm/svm/sev.c arch/x86/kvm/x86.c arch/x86/kvm/x86.h+2 -22 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/2] KVM: x86: Clean up MP_STATE transitions

Introduce a generic setter, kvm_set_mp_state(), and use that to ensure that pv_unhalted is cleared on all transitions to KVM_MP_STATE_RUNNABLE.

Jim Mattson (2):
KVM: x86: Introduce kvm_set_mp_state()
KVM: x86: Clear pv_unhalted on all transitions to
KVM_MP_STATE_RUNNABLE

 arch/x86/kvm/lapic.c      |  6 +++---
 arch/x86/kvm/svm/nested.c |  2 +-
 arch/x86/kvm/svm/sev.c    |  5 ++---
 arch/x86/kvm/vmx/nested.c |  4 ++--
 arch/x86/kvm/x86.c        | 18 ++++++++----------
 arch/x86/kvm/x86.h        |  7 +++++++
 arch/x86/kvm/xen.c        |  4 ++--
 7 files changed, 25 insertions(+), 21 deletions(-)

base-commit: c45323b7560ec87c37c729b703c86ee65f136d75

Signature · 1 line
2.47.1.688.g23fc6f90ad-goog