Re: [PATCH v2 41/46] KVM: VMX: Smush x2APIC MSR bitmap adjustments into single function

From: Paolo Bonzini
Date: Mon Jul 26 2021 - 18:23:00 EST


On 27/07/21 00:21, Sean Christopherson wrote:
On Mon, Jul 26, 2021, Paolo Bonzini wrote:
On 13/07/21 18:33, Sean Christopherson wrote:
+ if (!(mode ^ vmx->x2apic_msr_bitmap_mode))
+ return;
Just !=, I guess?
Ha, yeah. Forgot to do a bit of critical thinking after refactoring.


Well, == even since I assume you don't want the ! in front. :)

Paolo