Re: [PATCH RESEND v12 00/17] KVM: x86/pmu: Add basic support to enable guest PEBS via DS
From: Paolo Bonzini
Date: Wed May 25 2022 - 10:13:51 EST
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