Searched refs:vcpu_get_msr (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A 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() 78 val = vcpu_get_msr(vcpu, MSR_IA32_FEAT_CTL); in __ia32_feature_control_msr_test()
|
H A 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()
|
H A D | tsc_msrs_test.c | 17 #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 D | xss_msr_test.c | 30 xss_val = vcpu_get_msr(vcpu, MSR_IA32_XSS); in main()
|
H A D | platform_info_test.c | 71 msr_platform_info = vcpu_get_msr(vcpu, MSR_PLATFORM_INFO); in main()
|
H A D | xapic_state_test.c | 173 apic_base = vcpu_get_msr(vcpus[i], MSR_IA32_APICBASE); in test_apic_id()
|
H A D | vmx_pmu_caps_test.c | 106 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 D | processor.h | 1017 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 D | processor.c | 792 uint64_t vcpu_get_msr(struct kvm_vcpu *vcpu, uint64_t msr_index) in vcpu_get_msr() function
|