aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2020-03-02 15:56:52 -0800
committerPaolo Bonzini <[email protected]>2020-03-16 17:58:31 +0100
commitd8577a4c238f8bd3089bfb428fece97f14eaabad (patch)
treee97737c58dd2acae5f0e98807161d3d384cd7be3 /tools/perf/scripts/python/export-to-postgresql.py
parent7ff6c0350315248bb58b074c90c4683f0e415669 (diff)
KVM: x86: Do host CPUID at load time to mask KVM cpu caps
Mask kvm_cpu_caps based on host CPUID in preparation for overriding the CPUID results during KVM_GET_SUPPORTED_CPUID instead of doing the masking at runtime. Note, masking may or may not be necessary, e.g. the kernel rarely, if ever, sets real CPUID bits that are not supported by hardware. But, the code is cheap and only runs once at load, so an abundance of caution is warranted. No functional change intended. Reviewed-by: Vitaly Kuznetsov <[email protected]> Signed-off-by: Sean Christopherson <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions