Searched refs:vcpu_get_msr (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/tools/testing/selftests/kvm/x86_64/ |
D | vmx_pmu_caps_test.c | 82 ASSERT_EQ(vcpu_get_msr(vcpu, MSR_IA32_PERF_CAPABILITIES), PMU_CAP_FW_WRITES); in main() 86 ASSERT_EQ(vcpu_get_msr(vcpu, MSR_IA32_PERF_CAPABILITIES), PMU_CAP_FW_WRITES); in main() 90 ASSERT_EQ(vcpu_get_msr(vcpu, MSR_IA32_PERF_CAPABILITIES), 0); in main() 93 ASSERT_EQ(vcpu_get_msr(vcpu, MSR_IA32_PERF_CAPABILITIES), (u64)host_cap.lbr_format); in main()
|
D | vmx_msrs_test.c | 18 uint64_t val = vcpu_get_msr(vcpu, msr_index); in vmx_fixed1_msr_test() 32 uint64_t val = vcpu_get_msr(vcpu, msr_index); in vmx_fixed0_msr_test()
|
D | hyperv_clock.c | 181 tsc_freq = vcpu_get_msr(vcpu, HV_X64_MSR_TSC_FREQUENCY); in host_check_tsc_msr_rdtsc() 186 t1 = vcpu_get_msr(vcpu, HV_X64_MSR_TIME_REF_COUNT); in host_check_tsc_msr_rdtsc() 190 t2 = vcpu_get_msr(vcpu, HV_X64_MSR_TIME_REF_COUNT); in host_check_tsc_msr_rdtsc()
|
D | tsc_msrs_test.c | 17 #define rounded_host_rdmsr(x) ROUND(vcpu_get_msr(vcpu, x)) 125 ASSERT_EQ(vcpu_get_msr(vcpu, MSR_IA32_TSC_ADJUST), UNITY * 123456); in main()
|
D | xss_msr_test.c | 30 xss_val = vcpu_get_msr(vcpu, MSR_IA32_XSS); in main()
|
D | platform_info_test.c | 82 msr_platform_info = vcpu_get_msr(vcpu, MSR_PLATFORM_INFO); in main()
|
/linux-6.1.9/tools/testing/selftests/kvm/lib/x86_64/ |
D | vmx.c | 555 ctrl = vcpu_get_msr(vcpu, MSR_IA32_VMX_TRUE_PROCBASED_CTLS) >> 32; in kvm_vm_has_ept() 559 ctrl = vcpu_get_msr(vcpu, MSR_IA32_VMX_PROCBASED_CTLS2) >> 32; in kvm_vm_has_ept()
|
D | processor.c | 798 uint64_t vcpu_get_msr(struct kvm_vcpu *vcpu, uint64_t msr_index) in vcpu_get_msr() function
|
/linux-6.1.9/tools/testing/selftests/kvm/include/x86_64/ |
D | processor.h | 715 uint64_t vcpu_get_msr(struct kvm_vcpu *vcpu, uint64_t msr_index);
|