Home
last modified time | relevance | path

Searched refs:addr_gva2gpa (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/tools/testing/selftests/kvm/lib/x86_64/
H A Dhyperv.c20 hv->vp_assist_gpa = addr_gva2gpa(vm, (uintptr_t)hv->vp_assist); in vcpu_alloc_hyperv_test_pages()
25 hv->partition_assist_gpa = addr_gva2gpa(vm, (uintptr_t)hv->partition_assist); in vcpu_alloc_hyperv_test_pages()
30 hv->enlightened_vmcs_gpa = addr_gva2gpa(vm, (uintptr_t)hv->enlightened_vmcs); in vcpu_alloc_hyperv_test_pages()
H A Dvmx.c83 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()
546 vmx->eptp_gpa = addr_gva2gpa(vm, (uintptr_t)vmx->eptp); in prepare_eptp()
553 vmx->apic_access_gpa = addr_gva2gpa(vm, (uintptr_t)vmx->apic_access); in prepare_virtualize_apic_accesses()
H A Dsvm.c39 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()
/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A Dhyperv_extended_hypercalls.c65 vcpu_args_set(vcpu, 3, addr_gva2gpa(vm, hcall_in_page), in main()
66 addr_gva2gpa(vm, hcall_out_page), hcall_out_page); in main()
H A Dhyperv_ipi.c261 vcpu_args_set(vcpu[1], 2, hcall_page, addr_gva2gpa(vm, hcall_page)); in main()
267 vcpu_args_set(vcpu[2], 2, hcall_page, addr_gva2gpa(vm, hcall_page)); in main()
273 vcpu_args_set(vcpu[0], 2, hcall_page, addr_gva2gpa(vm, hcall_page)); in main()
H A Dhyperv_clock.c220 TEST_ASSERT((addr_gva2gpa(vm, tsc_page_gva) & (getpagesize() - 1)) == 0, in main()
222 vcpu_args_set(vcpu, 2, tsc_page_gva, addr_gva2gpa(vm, tsc_page_gva)); in main()
H A Dkvm_clock_test.c187 pvti_gpa = addr_gva2gpa(vm, pvti_gva); in main()
H A Dhyperv_svm_test.c171 vcpu_args_set(vcpu, 3, nested_gva, hv_pages_gva, addr_gva2gpa(vm, hcall_page)); in main()
H A Dhyperv_evmcs.c257 vcpu_args_set(vcpu, 3, vmx_pages_gva, hv_pages_gva, addr_gva2gpa(vm, hcall_page)); in main()
H A Dhyperv_features.c546 vcpu_args_set(vcpu, 2, addr_gva2gpa(vm, hcall_page), hcall_params); in guest_test_hcalls_access()
H A Dhyperv_tlb_flush.c601 data->hcall_gpa = addr_gva2gpa(vm, data->hcall_gva); in main()
/openbmc/linux/tools/testing/selftests/kvm/include/
H A Dkvm_util_base.h893 static inline vm_paddr_t addr_gva2gpa(struct kvm_vm *vm, vm_vaddr_t gva) in addr_gva2gpa() function
/openbmc/linux/tools/testing/selftests/kvm/s390x/
H A Dmemop.c203 __desc.gaddr = addr_gva2gpa(__info.vm, __desc.gaddr_v); \
/openbmc/linux/tools/testing/selftests/kvm/lib/
H A Dkvm_util.c2006 return addr_gpa2hva(vm, addr_gva2gpa(vm, gva)); in addr_gva2hva()