diff options
author | Vitaly Kuznetsov <[email protected]> | 2022-08-30 15:37:07 +0200 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2022-09-26 12:02:38 -0400 |
commit | ce2196b831b1e9f8982b2904fc3e8658cc0e6573 (patch) | |
tree | b95996c5a693cecfc75e6ad53b3a6cfe0fc307e6 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 5ef384a60f22f70a99b45f769144761de37b037c (diff) |
KVM: x86: Zero out entire Hyper-V CPUID cache before processing entries
Wipe the whole 'hv_vcpu->cpuid_cache' with memset() instead of having to
zero each particular member when the corresponding CPUID entry was not
found.
No functional change intended.
Signed-off-by: Vitaly Kuznetsov <[email protected]>
[sean: split to separate patch]
Signed-off-by: Sean Christopherson <[email protected]>
Reviewed-by: Wei Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions