Re: [PATCH v3 08/10] KVM: nVMX: Switch to vmcs01 to update APIC page on-demand if L2 is active

From: Chao Gao
Date: Thu Dec 25 2025 - 21:03:41 EST


On Fri, Dec 05, 2025 at 03:19:11PM -0800, Sean Christopherson wrote:
>If the KVM-owned APIC-access page is migrated while L2 is running,
>temporarily load vmcs01 and immediately update APIC_ACCESS_ADDR instead
>of deferring the update until the next nested VM-Exit. Once changing
>the virtual APIC mode is converted to always do on-demand updates, all
>of the "defer until vmcs01 is active" logic will be gone.
>
>Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx>

Reviewed-by: Chao Gao <chao.gao@xxxxxxxxx>