KVM: selftests: x86: Use "this_cpu" prefix for cpu vendor queries
authorVishal Annapurve <vannapurve@google.com>
Wed, 11 Jan 2023 00:44:43 +0000 (00:44 +0000)
committerSean Christopherson <seanjc@google.com>
Tue, 24 Jan 2023 18:06:31 +0000 (10:06 -0800)
commite99b0d4cc2b679c5892d0994610b44e7b584d98b
tree049e11a829467bbb8c069ba23e94f2e675fdbc47
parentca17899693518acde9ba1adcf46b95d76286106d
KVM: selftests: x86: Use "this_cpu" prefix for cpu vendor queries

Replace is_intel/amd_cpu helpers with this_cpu_* helpers to better
convey the intent of querying vendor of the current cpu.

Suggested-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: David Matlack <dmatlack@google.com>
Signed-off-by: Vishal Annapurve <vannapurve@google.com>
Link: https://lore.kernel.org/r/20230111004445.416840-2-vannapurve@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/include/x86_64/processor.h
tools/testing/selftests/kvm/lib/x86_64/processor.c
tools/testing/selftests/kvm/x86_64/fix_hypercall_test.c
tools/testing/selftests/kvm/x86_64/mmio_warning_test.c
tools/testing/selftests/kvm/x86_64/pmu_event_filter_test.c
tools/testing/selftests/kvm/x86_64/vmx_exception_with_invalid_guest_state.c