Skip to content

KVM: x86: Drop deferred updates of EOI bitmaps

Sean Christopherson kvm lkml 2 versions – Applied

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 1 replyApplied
  2. v22 patches 1 replySuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3KVM: VMX: Update EOI bitmaps even if APICv is (temporarily) inhibitedarch/x86/kvm/vmx/vmx.c+1 -10 replies
2/3KVM: x86: Switch to vmcs01 to update EOI exiting bitmap on-demand if L2 is activearch/x86/include/asm/kvm_host.h arch/x86/kvm/regs.h arch/x86/kvm/vmx/vmx.c +1 more+3 -210 replies
3/3KVM: x86: Consolidate invocations of kvm_x86_ops.load_eoi_exitmap()arch/x86/kvm/x86.c+7 -70 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/3] KVM: x86: Drop deferred updates of EOI bitmaps

Stop deferring EOI bitmap updates. As pointed out by Amirmohammad, I missed this one when removing all the other cases where KVM defers an update until vmcs01 is active.

Patch 1 fixes a pre-existing bug Sashiko pointed out where KVM doesn't update the EOI bitmaps if APICv is temporarily inhibited.

v3: Add the aforementioned patch 1. [Sashiko]

v2: https://lore.kernel.org/all/[email protected]

v1: https://lore.kernel.org/all/[email protected]

Sean Christopherson (3):
KVM: VMX: Update EOI bitmaps even if APICv is (temporarily) inhibited
KVM: x86: Switch to vmcs01 to update EOI exiting bitmap on-demand if
L2 is active
KVM: x86: Consolidate invocations of kvm_x86_ops.load_eoi_exitmap()

 arch/x86/include/asm/kvm_host.h |  3 +--
 arch/x86/kvm/regs.h             |  6 ------
 arch/x86/kvm/vmx/vmx.c          |  4 +++-
 arch/x86/kvm/x86.c              | 27 +++++++--------------------
 4 files changed, 11 insertions(+), 29 deletions(-)

base-commit: 7e60162b16f9da0d2fa83da5c1723b6853a0ac1d

Signature · 1 line
2.56.0.307.g5fe7bd680c-goog