]> 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)
commitc1fd4abe06eec463aae63373c2bee0564e10c7b6
treee1ba2bf2574153bf0a3d73ae52c5a0b0c5b445e6
parent081f753d24b09e5198f6a79b3f999bd4af66f957
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