Like Xu <like.xu.linux@xxxxxxxxx> writes: ... Hi, the following commit > KVM: x86/pmu: Add IA32_PEBS_ENABLE MSR emulation for extended PEBS (currently in kvm/queue) breaks a number of selftests, e.g.: # ./tools/testing/selftests/kvm/x86_64/state_test ==== Test Assertion Failure ==== lib/x86_64/processor.c:1207: r == nmsrs pid=6702 tid=6702 errno=7 - Argument list too long 1 0x000000000040da11: vcpu_save_state at processor.c:1207 (discriminator 4) 2 0x00000000004024e5: main at state_test.c:209 (discriminator 6) 3 0x00007f9f48c2d55f: ?? ??:0 4 0x00007f9f48c2d60b: ?? ??:0 5 0x00000000004026d4: _start at ??:? Unexpected result from KVM_GET_MSRS, r: 29 (failed MSR was 0x3f1) I don't think any of these failing tests care about MSR_IA32_PEBS_ENABLE in particular, they're just trying to do KVM_GET_MSRS/KVM_SET_MSRS. -- Vitaly