]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: Clean up x2APIC MSR handling for L2
authorSean Christopherson <seanjc@google.com>
Tue, 9 Nov 2021 01:30:47 +0000 (01:30 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 11 Nov 2021 15:56:23 +0000 (10:56 -0500)
commitba4b80eac42fea731ce825202c211d5e1eaadd67
treee1ba2bf2574153bf0a3d73ae52c5a0b0c5b445e6
parent327777194bd018f318ecdc0f773d5b4085cfe933
KVM: nVMX: Clean up x2APIC MSR handling for L2

Clean up the x2APIC MSR bitmap intereption code for L2, which is the last
holdout of open coded bitmap manipulations.  Freshen up the SDM/PRM
comment, rename the function to make it abundantly clear the funky
behavior is x2APIC specific, and explain _why_ vmcs01's bitmap is ignored
(the previous comment was flat out wrong for x2APIC behavior).

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20211109013047.2041518-5-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/nested.c