diff options
author | 2024-04-23 09:53:28 -0700 | |
---|---|---|
committer | 2024-05-07 13:07:35 -0400 | |
commit | 40269c03fdbff2171af246795a4c639cb0cf1ed5 (patch) | |
tree | db270e67bb76d1666a68498dcfa6e9e21a173307 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: x86: Fully re-initialize supported_mce_cap on vendor module load (diff) | |
download | wireguard-linux-40269c03fdbff2171af246795a4c639cb0cf1ed5.tar.xz wireguard-linux-40269c03fdbff2171af246795a4c639cb0cf1ed5.zip |
KVM: x86: Explicitly zero kvm_caps during vendor module load
Zero out all of kvm_caps when loading a new vendor module to ensure that
KVM can't inadvertently rely on global initialization of a field, and add
a comment above the definition of kvm_caps to call out that all fields
needs to be explicitly computed during vendor module load.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Xiaoyao Li <xiaoyao.li@intel.com>
Message-ID: <20240423165328.2853870-4-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions