Home
last modified time | relevance | path

Searched refs:_vcpu_set_msr (Results 1 – 5 of 5) sorted by relevance

/tools/testing/selftests/kvm/x86_64/
Dvmx_pmu_msrs_test.c110 ret = _vcpu_set_msr(vm, 0, MSR_IA32_PERF_CAPABILITIES, PMU_CAP_LBR_FMT); in main()
116 ret = _vcpu_set_msr(vm, 0, MSR_IA32_PERF_CAPABILITIES, host_cap.capabilities); in main()
124 ret = _vcpu_set_msr(vm, 0, MSR_IA32_PERF_CAPABILITIES, PMU_CAP_FW_WRITES); in main()
Dxss_msr_test.c70 r = _vcpu_set_msr(vm, VCPU_ID, MSR_IA32_XSS, 1ull << i); in main()
/tools/testing/selftests/kvm/
Dsteal_time.c78 ret = _vcpu_set_msr(vm, i, MSR_KVM_STEAL_TIME, (ulong)st_gva[i] | KVM_STEAL_RESERVED_MASK); in steal_time_init()
/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h389 int _vcpu_set_msr(struct kvm_vm *vm, uint32_t vcpuid, uint64_t msr_index,
/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c890 int _vcpu_set_msr(struct kvm_vm *vm, uint32_t vcpuid, uint64_t msr_index, in _vcpu_set_msr() function
929 r = _vcpu_set_msr(vm, vcpuid, msr_index, msr_value); in vcpu_set_msr()