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)
commita5e0c252845432893148d9905e3e379abcde9667
treee1ba2bf2574153bf0a3d73ae52c5a0b0c5b445e6
parent0cacb80b98f36a5ba67cc0b0efaea98e2a53da4c
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