[PATCH v3 0/3] KVM: x86: Drop deferred updates of EOI bitmaps
From: Sean Christopherson
Date: Tue Oct 27 2026 - 18:33:19 EST
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/20261022022813.303978-1-seanjc@xxxxxxxxxx
v1: https://lore.kernel.org/all/20261017093016.32348-2-amirmohammad.eftekhar@xxxxxxxx
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
--
2.56.0.307.g5fe7bd680c-goog