Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/kvm/x86_64/
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()
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))
133 TEST_ASSERT_EQ(vcpu_get_msr(vcpu, MSR_IA32_TSC_ADJUST), UNITY * 123456); in main()
Dxss_msr_test.c28 xss_val = vcpu_get_msr(vcpu, MSR_IA32_XSS); in main()
Dhwcr_msr_test.c25 actual = vcpu_get_msr(vcpu, MSR_K7_HWCR); in test_hwcr_bit()
Dplatform_info_test.c52 msr_platform_info = vcpu_get_msr(vcpu, MSR_PLATFORM_INFO); in main()
Dvmx_pmu_caps_test.c103 TEST_ASSERT_EQ(vcpu_get_msr(vcpu, MSR_IA32_PERF_CAPABILITIES), in KVM_ONE_VCPU_TEST()
Dxapic_state_test.c183 apic_base = vcpu_get_msr(vcpus[i], MSR_IA32_APICBASE); in test_apic_id()
/linux-6.12.1/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h1085 uint64_t vcpu_get_msr(struct kvm_vcpu *vcpu, uint64_t msr_index);
1124 r = vcpu_get_msr(vcpu, msr); \
/linux-6.12.1/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c883 uint64_t vcpu_get_msr(struct kvm_vcpu *vcpu, uint64_t msr_index) in vcpu_get_msr() function