Skip to content

KVM: x86: APICv inhibition cleanups

Sean Christopherson kvm lkml 1 version Applied

Status from this message: Queued, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3KVM: x86: Make APICv inihibit reasons an enum and cleanup namingarch/x86/include/asm/kvm_host.h arch/x86/kvm/svm/avic.c arch/x86/kvm/svm/svm.h +3 more+35 -310 replies
2/3KVM: x86: Add wrappers for setting/clearing APICv inhibitsarch/x86/include/asm/kvm_host.h arch/x86/kvm/hyperv.c arch/x86/kvm/i8254.c +3 more+49 -360 replies
3/3KVM: x86: Trace all APICv inhibit changes and capture overall statusarch/x86/kvm/trace.h arch/x86/kvm/x86.c+29 -183 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: APICv inhibition cleanups

Refactor the APICv inhibition code to use small set/clear wrappers instead of passing an impressively ambiguous "activate" boolean. Opportunistically enhance the related tracepoint so that debugging why a VM can't use APICv is slightly less painful.

Sean Christopherson (3):
KVM: x86: Make APICv inihibit reasons an enum and cleanup naming
KVM: x86: Add wrappers for setting/clearing APICv inhibits
KVM: x86: Trace all APICv inhibit changes and capture overall status

 arch/x86/include/asm/kvm_host.h | 39 ++++++++++++++++--------
 arch/x86/kvm/hyperv.c           | 10 ++++--
 arch/x86/kvm/i8254.c            |  6 ++--
 arch/x86/kvm/svm/avic.c         |  4 +--
 arch/x86/kvm/svm/svm.c          | 11 +++----
 arch/x86/kvm/svm/svm.h          |  2 +-
 arch/x86/kvm/trace.h            | 22 ++++++++------
 arch/x86/kvm/vmx/vmx.c          |  4 +--
 arch/x86/kvm/x86.c              | 54 ++++++++++++++++++++-------------
 9 files changed, 90 insertions(+), 62 deletions(-)

base-commit: ce41d078aaa9cf15cbbb4a42878cc6160d76525e

Signature · 1 line
2.35.1.723.g4982287a31-goog