]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: nVMX: Mark APIC access page dirty when syncing vmcs12 pages
authorFred Griffoul <fgriffo@amazon.co.uk>
Fri, 21 Nov 2025 22:34:44 +0000 (14:34 -0800)
committerSean Christopherson <seanjc@google.com>
Thu, 8 Jan 2026 19:58:24 +0000 (11:58 -0800)
commitc9d7134679ebf038c3d1d0b324e378dfc464d198
treeedbc13ec742b1d35855daceefc08cbff8a6a4695
parent57dfa61f6248e0fb23a3f767a7dc9c8fcecec5d7
KVM: nVMX: Mark APIC access page dirty when syncing vmcs12 pages

For consistency with commit 7afe79f5734a ("KVM: nVMX: Mark vmcs12's APIC
access page dirty when unmapping"), which marks the page dirty during
unmap operations, also mark it dirty during vmcs12 page synchronization.

Signed-off-by: Fred Griffoul <fgriffo@amazon.co.uk>
[sean: use kvm_vcpu_map_mark_dirty()]
Link: https://patch.msgid.link/20251121223444.355422-6-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/vmx/vmx.c