Searched refs:msr_index (Results 1 – 4 of 4) sorted by relevance
/tools/testing/selftests/kvm/x86_64/ |
D | xss_msr_test.c | 20 bool is_supported_msr(u32 msr_index) in is_supported_msr() argument 28 if (list->indices[i] == msr_index) { in is_supported_msr()
|
D | userspace_msr_exit_test.c | 418 static void process_rdmsr(struct kvm_vm *vm, uint32_t msr_index) in process_rdmsr() argument 428 TEST_ASSERT(run->msr.index == msr_index, in process_rdmsr() 430 run->msr.index, msr_index); in process_rdmsr() 453 static void process_wrmsr(struct kvm_vm *vm, uint32_t msr_index) in process_wrmsr() argument 463 TEST_ASSERT(run->msr.index == msr_index, in process_wrmsr() 465 run->msr.index, msr_index); in process_wrmsr() 529 static void run_guest_then_process_rdmsr(struct kvm_vm *vm, uint32_t msr_index) in run_guest_then_process_rdmsr() argument 532 process_rdmsr(vm, msr_index); in run_guest_then_process_rdmsr() 535 static void run_guest_then_process_wrmsr(struct kvm_vm *vm, uint32_t msr_index) in run_guest_then_process_wrmsr() argument 538 process_wrmsr(vm, msr_index); in run_guest_then_process_wrmsr()
|
/tools/testing/selftests/kvm/include/x86_64/ |
D | processor.h | 372 uint64_t kvm_get_feature_msr(uint64_t msr_index); 388 uint64_t vcpu_get_msr(struct kvm_vm *vm, uint32_t vcpuid, uint64_t msr_index); 389 int _vcpu_set_msr(struct kvm_vm *vm, uint32_t vcpuid, uint64_t msr_index, 391 void vcpu_set_msr(struct kvm_vm *vm, uint32_t vcpuid, uint64_t msr_index,
|
/tools/testing/selftests/kvm/lib/x86_64/ |
D | processor.c | 719 uint64_t kvm_get_feature_msr(uint64_t msr_index) in kvm_get_feature_msr() argument 728 buffer.entry.index = msr_index; in kvm_get_feature_msr() 856 uint64_t vcpu_get_msr(struct kvm_vm *vm, uint32_t vcpuid, uint64_t msr_index) in vcpu_get_msr() argument 867 buffer.entry.index = msr_index; in vcpu_get_msr() 890 int _vcpu_set_msr(struct kvm_vm *vm, uint32_t vcpuid, uint64_t msr_index, in _vcpu_set_msr() argument 903 buffer.entry.index = msr_index; in _vcpu_set_msr() 924 void vcpu_set_msr(struct kvm_vm *vm, uint32_t vcpuid, uint64_t msr_index, in vcpu_set_msr() argument 929 r = _vcpu_set_msr(vm, vcpuid, msr_index, msr_value); in vcpu_set_msr()
|