Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A 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()
78 val = vcpu_get_msr(vcpu, MSR_IA32_FEAT_CTL); in __ia32_feature_control_msr_test()
H A 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()
H A Dtsc_msrs_test.c17 #define rounded_host_rdmsr(x) ROUND(vcpu_get_msr(vcpu, x))
133 TEST_ASSERT_EQ(vcpu_get_msr(vcpu, MSR_IA32_TSC_ADJUST), UNITY * 123456); in main()
H A Dxss_msr_test.c30 xss_val = vcpu_get_msr(vcpu, MSR_IA32_XSS); in main()
H A Dplatform_info_test.c71 msr_platform_info = vcpu_get_msr(vcpu, MSR_PLATFORM_INFO); in main()
H A Dxapic_state_test.c173 apic_base = vcpu_get_msr(vcpus[i], MSR_IA32_APICBASE); in test_apic_id()
H A Dvmx_pmu_caps_test.c106 TEST_ASSERT_EQ(vcpu_get_msr(vcpu, MSR_IA32_PERF_CAPABILITIES), in test_guest_wrmsr_perf_capabilities()
/openbmc/linux/tools/testing/selftests/kvm/include/x86_64/
H A Dprocessor.h1017 uint64_t vcpu_get_msr(struct kvm_vcpu *vcpu, uint64_t msr_index);
1056 r = vcpu_get_msr(vcpu, msr); \
/openbmc/linux/tools/testing/selftests/kvm/lib/x86_64/
H A Dprocessor.c792 uint64_t vcpu_get_msr(struct kvm_vcpu *vcpu, uint64_t msr_index) in vcpu_get_msr() function