Searched refs:vcpu_set_msr (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/tools/testing/selftests/kvm/x86_64/ |
D | vmx_msrs_test.c | 24 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()
|
D | vmx_pmu_caps_test.c | 79 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()
|
D | tsc_msrs_test.c | 117 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()
|
D | platform_info_test.c | 83 vcpu_set_msr(vcpu, MSR_PLATFORM_INFO, in main() 87 vcpu_set_msr(vcpu, MSR_PLATFORM_INFO, msr_platform_info); in main()
|
D | xss_msr_test.c | 34 vcpu_set_msr(vcpu, MSR_IA32_XSS, xss_val); in main()
|
D | monitor_mwait_test.c | 124 vcpu_set_msr(vcpu, MSR_IA32_MISC_ENABLE, in main()
|
D | tsc_scaling_sync.c | 61 vcpu_set_msr(vcpu, MSR_IA32_TSC, TEST_TSC_OFFSET); in run_vcpu()
|
D | smm_test.c | 154 vcpu_set_msr(vcpu, MSR_IA32_SMBASE, SMRAM_GPA); in main()
|
/linux-6.1.9/tools/testing/selftests/kvm/ |
D | steal_time.c | 78 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/ |
D | processor.h | 718 static inline void vcpu_set_msr(struct kvm_vcpu *vcpu, uint64_t msr_index, in vcpu_set_msr() function
|