Re: [GIT PULL] Final KVM fix for Linux 6.7

From: Sean Christopherson
Date: Fri Jan 05 2024 - 12:30:05 EST


On Fri, Jan 05, 2024, Linus Torvalds wrote:
> On Thu, 4 Jan 2024 at 07:48, Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote:
> >
> > * Fix Boolean logic in intel_guest_get_msrs
>
> I think the intention of the original was to write this as
>
> .guest = intel_ctrl & ~(cpuc->intel_ctrl_host_mask | pebs_mask),
>
> but your version certainly works too.

Ha! That's what I suggested too, clearly Paolo is the weird one :-)