All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Jim Mattson <jmattson@google.com>
Cc: kvm@vger.kernel.org, Like Xu <like.xu.linux@gmail.com>
Subject: Re: [PATCH kvm-unit-tests] pmu: fix conditions for emulation test
Date: Tue, 16 Nov 2021 19:03:06 +0100	[thread overview]
Message-ID: <ea98ccf5-059b-11b3-e071-a46bad687699@redhat.com> (raw)
In-Reply-To: <CALMp9eSy7-ziFeOrz+zsdBPOC7AqULYRSrP1kKSMWkFwrmzy8w@mail.gmail.com>

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@gmail.com>
>> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> Reviewed-by: Jim Mattson <jmattson@google.com>
> 


  reply	other threads:[~2021-11-16 18:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-16 10:50 [PATCH kvm-unit-tests] pmu: fix conditions for emulation test Paolo Bonzini
2021-11-16 17:49 ` Jim Mattson
2021-11-16 18:03   ` Paolo Bonzini [this message]
2021-11-16 20:00     ` Jim Mattson
2021-11-17  2:49       ` Like Xu
2022-02-12 23:45 ` Jim Mattson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ea98ccf5-059b-11b3-e071-a46bad687699@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=jmattson@google.com \
    --cc=kvm@vger.kernel.org \
    --cc=like.xu.linux@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.