Skip to content

KVM: x86: kvm_has_noapic_vcpu fix/cleanup

Sean Christopherson 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 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2KVM: x86: Move "KVM no-APIC vCPU" key management into local APIC codearch/x86/kvm/lapic.c arch/x86/kvm/x86.c+29 -271 reply
2/2KVM: x86: Sanity check that kvm_has_noapic_vcpu is zero at module_exit()arch/x86/kvm/x86.c+1 -40 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchXu Yilun
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] KVM: x86: kvm_has_noapic_vcpu fix/cleanup

Fix a longstanding bug where KVM fails to decrement kvm_has_noapic_vcpu if vCPU creation ultimately fails. This is obviously way more than just a fix, but (a) in all likelihood no real users are affected by this, (b) the absolutely worst case scenario is minor performance degredation, and
(c) I'm not at all convinced that kvm_has_noapic_vcpu provides any performance benefits.

Sean Christopherson (2):
KVM: x86: Move "KVM no-APIC vCPU" key management into local APIC code
KVM: x86: Sanity check that kvm_has_noapic_vcpu is zero at
module_exit()

 arch/x86/kvm/lapic.c | 27 ++++++++++++++++++++++++++-
 arch/x86/kvm/x86.c   | 34 ++++------------------------------
 2 files changed, 30 insertions(+), 31 deletions(-)

base-commit: 7455665a3521aa7b56245c0a2810f748adc5fdd4

Signature · 1 line
2.43.0.687.g38aa6559b0-goog