aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/kvm/kvm_binary_stats_test.c
diff options
context:
space:
mode:
authorVishal Annapurve <[email protected]>2023-01-11 00:44:44 +0000
committerSean Christopherson <[email protected]>2023-01-24 10:06:32 -0800
commite6df2ae3f57c6bfab29e767796ce8d4796a84ebb (patch)
tree6bf97a5310c00974b37378736d2527399fd4dd32 /tools/testing/selftests/kvm/kvm_binary_stats_test.c
parente99b0d4cc2b679c5892d0994610b44e7b584d98b (diff)
KVM: selftests: x86: Cache host CPU vendor (AMD vs. Intel)
Cache the host CPU vendor for userspace and share it with guest code. All the current callers of this_cpu* actually care about host cpu so they are updated to check host_cpu_is*. Suggested-by: Sean Christopherson <[email protected]> Reviewed-by: David Matlack <[email protected]> Signed-off-by: Vishal Annapurve <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/testing/selftests/kvm/kvm_binary_stats_test.c')
0 files changed, 0 insertions, 0 deletions