Re: [PATCH kvm-unit-tests] pmu: fix conditions for emulation test

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

 



On 11/16/21 18:49, Jim Mattson wrote:
Thanks for fixing this. By the way, one of the reasons that we don't
expose a virtual PMU to more customers is the conflict with the NMI
watchdog. We aren't willing to give up the NMI watchdog on the host,
and we don't really want to report a reduced number of general purpose
counters to the guest. (On AMD, we *can't* report a reduced number of
counters to the guest; the architectural specification doesn't allow
it.)

FWIW we also generally use the PMU emulation only for debugging of guest performance issues.

We can't be the only ones running with the NMI watchdog enabled. How
do others deal with this? Is there any hope of suspending the NMI
watchdog while in VMX non-root mode (or guest mode on AMD)?

Like, what do you think?

Paolo

This also hid a typo for the force_emulation_prefix module parameter,
which is part of the kvm module rather than the kvm_intel module,
so fix that.

Reported-by: Like Xu <like.xu.linux@xxxxxxxxx>
Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
Reviewed-by: Jim Mattson <jmattson@xxxxxxxxxx>





[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