Searched refs:addr_gva2gpa (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/tools/testing/selftests/kvm/lib/x86_64/ |
D | vmx.c | 83 vmx->vmxon_gpa = addr_gva2gpa(vm, (uintptr_t)vmx->vmxon); in vcpu_alloc_vmx() 88 vmx->vmcs_gpa = addr_gva2gpa(vm, (uintptr_t)vmx->vmcs); in vcpu_alloc_vmx() 93 vmx->msr_gpa = addr_gva2gpa(vm, (uintptr_t)vmx->msr); in vcpu_alloc_vmx() 99 vmx->shadow_vmcs_gpa = addr_gva2gpa(vm, (uintptr_t)vmx->shadow_vmcs); in vcpu_alloc_vmx() 104 vmx->vmread_gpa = addr_gva2gpa(vm, (uintptr_t)vmx->vmread); in vcpu_alloc_vmx() 109 vmx->vmwrite_gpa = addr_gva2gpa(vm, (uintptr_t)vmx->vmwrite); in vcpu_alloc_vmx() 115 vmx->vp_assist_gpa = addr_gva2gpa(vm, (uintptr_t)vmx->vp_assist); in vcpu_alloc_vmx() 122 addr_gva2gpa(vm, (uintptr_t)vmx->enlightened_vmcs); in vcpu_alloc_vmx() 570 vmx->eptp_gpa = addr_gva2gpa(vm, (uintptr_t)vmx->eptp); in prepare_eptp() 577 vmx->apic_access_gpa = addr_gva2gpa(vm, (uintptr_t)vmx->apic_access); in prepare_virtualize_apic_accesses()
|
D | svm.c | 39 svm->vmcb_gpa = addr_gva2gpa(vm, (uintptr_t)svm->vmcb); in vcpu_alloc_svm() 43 svm->save_area_gpa = addr_gva2gpa(vm, (uintptr_t)svm->save_area); in vcpu_alloc_svm() 47 svm->msr_gpa = addr_gva2gpa(vm, (uintptr_t)svm->msr); in vcpu_alloc_svm()
|
/linux-6.1.9/tools/testing/selftests/kvm/x86_64/ |
D | hyperv_clock.c | 222 TEST_ASSERT((addr_gva2gpa(vm, tsc_page_gva) & (getpagesize() - 1)) == 0, in main() 224 vcpu_args_set(vcpu, 2, tsc_page_gva, addr_gva2gpa(vm, tsc_page_gva)); in main()
|
D | kvm_clock_test.c | 190 pvti_gpa = addr_gva2gpa(vm, pvti_gva); in main()
|
D | hyperv_features.c | 491 vcpu_args_set(vcpu, 2, addr_gva2gpa(vm, hcall_page), hcall_params); in guest_test_hcalls_access()
|
/linux-6.1.9/tools/testing/selftests/kvm/include/ |
D | kvm_util_base.h | 808 static inline vm_paddr_t addr_gva2gpa(struct kvm_vm *vm, vm_vaddr_t gva) in addr_gva2gpa() function
|
/linux-6.1.9/tools/testing/selftests/kvm/s390x/ |
D | memop.c | 182 __desc.gaddr = addr_gva2gpa(__info.vm, __desc.gaddr_v); \
|
/linux-6.1.9/tools/testing/selftests/kvm/lib/ |
D | kvm_util.c | 1867 return addr_gpa2hva(vm, addr_gva2gpa(vm, gva)); in addr_gva2hva()
|