Home
last modified time | relevance | path

Searched refs:vcpu_get_msr (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/tools/testing/selftests/kvm/x86_64/
Dvmx_pmu_caps_test.c82 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()
Dvmx_msrs_test.c18 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()
Dhyperv_clock.c181 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()
Dtsc_msrs_test.c17 #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()
Dxss_msr_test.c30 xss_val = vcpu_get_msr(vcpu, MSR_IA32_XSS); in main()
Dplatform_info_test.c82 msr_platform_info = vcpu_get_msr(vcpu, MSR_PLATFORM_INFO); in main()
/linux-6.1.9/tools/testing/selftests/kvm/lib/x86_64/
Dvmx.c555 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()
Dprocessor.c798 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/
Dprocessor.h715 uint64_t vcpu_get_msr(struct kvm_vcpu *vcpu, uint64_t msr_index);