Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/kvm/x86_64/
Dvmx_msrs_test.c24 vcpu_set_msr(vcpu, msr_index, val & ~BIT_ULL(bit)); in vmx_fixed1_msr_test()
25 vcpu_set_msr(vcpu, msr_index, val); in vmx_fixed1_msr_test()
38 vcpu_set_msr(vcpu, msr_index, val | BIT_ULL(bit)); in vmx_fixed0_msr_test()
39 vcpu_set_msr(vcpu, msr_index, val); in vmx_fixed0_msr_test()
51 vcpu_set_msr(vcpu, MSR_IA32_VMX_VMCS_ENUM, 0); in vmx_save_restore_msrs_test()
52 vcpu_set_msr(vcpu, MSR_IA32_VMX_VMCS_ENUM, -1ull); in vmx_save_restore_msrs_test()
Dvmx_pmu_caps_test.c79 vcpu_set_msr(vcpu, MSR_IA32_PERF_CAPABILITIES, PMU_CAP_FW_WRITES); in main()
89 vcpu_set_msr(vcpu, MSR_IA32_PERF_CAPABILITIES, 0); in main()
92 vcpu_set_msr(vcpu, MSR_IA32_PERF_CAPABILITIES, host_cap.lbr_format); in main()
Dtsc_msrs_test.c117 vcpu_set_msr(vcpu, MSR_IA32_TSC, HOST_ADJUST + val); in main()
123 vcpu_set_msr(vcpu, MSR_IA32_TSC_ADJUST, UNITY * 123456); in main()
128 vcpu_set_msr(vcpu, MSR_IA32_TSC_ADJUST, val); in main()
Dplatform_info_test.c83 vcpu_set_msr(vcpu, MSR_PLATFORM_INFO, in main()
87 vcpu_set_msr(vcpu, MSR_PLATFORM_INFO, msr_platform_info); in main()
Dxss_msr_test.c34 vcpu_set_msr(vcpu, MSR_IA32_XSS, xss_val); in main()
Dmonitor_mwait_test.c124 vcpu_set_msr(vcpu, MSR_IA32_MISC_ENABLE, in main()
Dtsc_scaling_sync.c61 vcpu_set_msr(vcpu, MSR_IA32_TSC, TEST_TSC_OFFSET); in run_vcpu()
Dsmm_test.c154 vcpu_set_msr(vcpu, MSR_IA32_SMBASE, SMRAM_GPA); in main()
/linux-6.1.9/tools/testing/selftests/kvm/
Dsteal_time.c78 vcpu_set_msr(vcpu, MSR_KVM_STEAL_TIME, (ulong)st_gva[i] | KVM_MSR_ENABLED); in steal_time_init()
/linux-6.1.9/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h718 static inline void vcpu_set_msr(struct kvm_vcpu *vcpu, uint64_t msr_index, in vcpu_set_msr() function