On Tue, Nov 16, 2021 at 10:03 AM Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote: > > 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 do have quite a few customers who want it, but I'm not sure that they really know what it is they will be getting. :-) > > 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> > > >