lkml.org 
[lkml]   [2021]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [KVM] feb627e8d6: kernel-selftests.kvm.vmx_pmu_msrs_test.fail
Date
kernel test robot <oliver.sang@intel.com> writes:

> Greeting,
>
> FYI, we noticed the following commit (built with gcc-9):
>
> commit: feb627e8d6f69c9a319fe279710959efb3eba873 ("KVM: x86: Forbid KVM_SET_CPUID{,2} after KVM_RUN")
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
>

...

>
> # selftests: kvm: vmx_pmu_msrs_test
> # ==== Test Assertion Failure ====
> # lib/x86_64/processor.c:874: rc == 0
> # pid=10415 tid=10415 errno=22 - Invalid argument
> # 1 0x000000000040b24f: vcpu_set_cpuid at processor.c:873
> # 2 0x000000000040260a: main at vmx_pmu_msrs_test.c:115
> # 3 0x00007f07e1aec09a: ?? ??:0
> # 4 0x0000000000402759: _start at ??:?
> # KVM_SET_CPUID2 failed, rc: -1 errno: 22
> not ok 33 selftests: kvm: vmx_pmu_msrs_test # exit=254
>

Hm, I'm pretty sure I've tested feb627e8d6f6 on both Intel and AMD and I
don't remember seeing this failure :-( . vmx_pmu_msrs_test test does
KVM_SET_CPUID after KVM_RUN and thus needs to be fixed too. Will send a
patch shortly.

--
Vitaly

\
 
 \ /
  Last update: 2021-12-15 16:59    [W:0.290 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site