diff options
| author | Like Xu <likexu@tencent.com> | 2023-06-02 18:10:52 -0700 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2023-06-06 17:31:44 -0700 |
| commit | 6593039d33c119968b9e2d85eaca853b391e8a55 (patch) | |
| tree | 13515aefc36c0d0fbadf97784055f96b1b1783c9 /scripts/gdb/linux/modules.py | |
| parent | 13afa29ae489d9b7c1038179f1e2bec74873e471 (diff) | |
KVM: x86: Explicitly zero cpuid "0xa" leaf when PMU is disabled
Add an explicit !enable_pmu check as relying on kvm_pmu_cap to be
zeroed isn't obvious. Although when !enable_pmu, KVM will have
zero-padded kvm_pmu_cap to do subsequent CPUID leaf assignments.
Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Like Xu <likexu@tencent.com>
Link: https://lore.kernel.org/r/20230603011058.1038821-7-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions
