Re: [kvm-unit-tests PATCH] x86/pmu: Test PMU virtualization on emulated instructions

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

 



On 11/16/21 11:04, Like Xu wrote:

+check = /sys/module/kvm_intel/parameters/force_emulation_prefix=Y

It's "/sys/module/kvm/parameters/force_emulation_prefix=Y",

If it's N, we need a output like "FAIL: check_emulated_instr"
rather than:

Unhandled exception 6 #UD at ip 0000000000401387
error_code=0000      rflags=00010046      cs=00000008
rax=0000000000000000 rcx=00000000000000c2 rdx=00000000ffffffff rbx=00000000009509f4
rbp=0000000000513730 rsi=0000000000000020 rdi=0000000000000034
 r8=0000000000000000  r9=0000000000000020 r10=000000000000000d r11=0000000000000000 r12=000000000000038e r13=0000000000000002 r14=0000000000513d80 r15=0000000000008603 cr0=0000000080010011 cr2=0000000000000000 cr3=0000000001007000 cr4=0000000000000020
cr8=0000000000000000
     STACK: @401387 400384

+check = /proc/sys/kernel/nmi_watchdog=0

Only one check is supported. However, this test does not need all counters, so we can remove the NMI watchdog line. I'll send a patch shortly.

Paolo




[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