On Fri, 21 Nov 2025 14:34:39 -0800, Sean Christopherson wrote:
> Extended version of Fred's patch to mark the APIC access page dirty on
> VM-Exit (KVM already marks it dirty when it's unmapped).
>
> v3:
> - Fix a benign memslots bug in __kvm_vcpu_map().
> - Mark vmcs12 pages dirty if and only if they're mapped (out-of-band).
> - Don't mark the APIC access page dirty when deliver nested posted IRQ.
>
> [...]
Applied to kvm-x86 apic, thanks!
[1/5] KVM: Use vCPU specific memslots in __kvm_vcpu_map()
https://github.com/kvm-x86/linux/commit/44da6629d282
[2/5] KVM: x86: Mark vmcs12 pages as dirty if and only if they're mapped
https://github.com/kvm-x86/linux/commit/70b02809ded9
[3/5] KVM: nVMX: Precisely mark vAPIC and PID maps dirty when delivering nested PI
https://github.com/kvm-x86/linux/commit/f74bb1d2eda1
[4/5] KVM: VMX: Move nested_mark_vmcs12_pages_dirty() to vmx.c, and rename
https://github.com/kvm-x86/linux/commit/57dfa61f6248
[5/5] KVM: nVMX: Mark APIC access page dirty when syncing vmcs12 pages
https://github.com/kvm-x86/linux/commit/c9d7134679eb
--
https://github.com/kvm-x86/linux/tree/next