On Wed, Aug 10, 2022, Jim Mattson wrote: > Regardless of the 'msr' argument passed to the VMX version of > msr_write_intercepted(), the function always checks to see if a > specific MSR (IA32_SPEC_CTRL) is intercepted for write. This behavior > seems unintentional and unexpected. > > Modify the function so that it checks to see if the provided 'msr' > index is intercepted for write. > > Fixes: 67f4b9969c30 ("KVM: nVMX: Handle dynamic MSR intercept toggling") > Cc: Sean Christopherson <seanjc@xxxxxxxxxx> > Signed-off-by: Jim Mattson <jmattson@xxxxxxxxxx> > --- I could have sworn this got fixed already. Or maybe Aaron just pointed it out off-list? Reviewed-by: Sean Christopherson <seanjc@xxxxxxxxxx>