diff options
| author | 2022-07-22 22:44:07 +0000 | |
|---|---|---|
| committer | 2022-07-28 13:23:57 -0400 | |
| commit | b663f0b5f3d665c261256d1f76e98f077c6e56af (patch) | |
| tree | 8777e738715206876273b1ed9c29848d5c4e4838 /virt/git:/ssh:/git@git.zx2c4.com | |
| parent | KVM: VMX: Mark all PERF_GLOBAL_(OVF)_CTRL bits reserved if there's no vPMU (diff) | |
| download | linux-dev-b663f0b5f3d665c261256d1f76e98f077c6e56af.tar.xz linux-dev-b663f0b5f3d665c261256d1f76e98f077c6e56af.zip | |
KVM: VMX: Add helper to check if the guest PMU has PERF_GLOBAL_CTRL
Add a helper to check of the guest PMU has PERF_GLOBAL_CTRL, which is
unintuitive _and_ diverges from Intel's architecturally defined behavior.
Even worse, KVM currently implements the check using two different (but
equivalent) checks, _and_ there has been at least one attempt to add a
_third_ flavor.
Cc: stable@vger.kernel.org
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20220722224409.1336532-4-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
