Re: [kvm-unit-tests PATCH 0/3] Fix up test failures induced by !enable_pmu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 6/10/2022 8:02 AM, Like Xu wrote:
On 9/6/2022 4:39 pm, Yang Weijiang wrote:
When pmu is disabled via enable_pmu=0, some perf related MSRs or instructions are not available to VM, this results into some test failures, fix them in
this series.

How about applying it in the x86/unittests.cfg:

    check = /sys/module/kvm/parameters/enable_pmu=N

I'm afraid you mean check enable_pmu=Y for those failing tests?

Let's not hide the defects of the code :-)


and add another pmu_disable.flat to cover all those unavailable expectations ?

A standalone test for !enable_pmu is a good idea, but the checklist is open,

it may be added to the _TODO_ list.




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux