Re: [PATCH RESEND v12 00/17] KVM: x86/pmu: Add basic support to enable guest PEBS via DS

From: Maxim Levitsky
Date: Wed May 25 2022 - 10:15:06 EST


On Wed, 2022-05-25 at 16:13 +0200, Paolo Bonzini wrote:
> On 5/25/22 16:12, Maxim Levitsky wrote:
> > FYI, this patch series also break 'msr' test in kvm-unit tests.
> > (kvm/queue of today, and master of the kvm-unit-tests repo)
> >
> > The test tries to set the MSR_IA32_MISC_ENABLE to 0x400c51889 and gets #GP.
> >
> >
> > Commenting this out, gets rid of #GP, but test still fails with unexpected result
> >
> > if (!msr_info->host_initiated &&
> > ((old_val ^ data) & MSR_IA32_MISC_ENABLE_PEBS_UNAVAIL))
> > return 1;
> >
> >
> >
> >
> > It is very possible that the test is broken, I'll check this later.
>
> Yes, for that I've sent a patch already:
>
> https://lore.kernel.org/kvm/20220520183207.7952-1-pbonzini@xxxxxxxxxx/
>
> Paolo
>

Thank you very much!


Best regards,
Maxim Levitsky