/openbmc/linux/tools/testing/selftests/kvm/lib/x86_64/ |
H A D | hyperv.c | 20 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 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() 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 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()
|
/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | hyperv_extended_hypercalls.c | 65 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 D | hyperv_ipi.c | 261 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 D | hyperv_clock.c | 220 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 D | kvm_clock_test.c | 187 pvti_gpa = addr_gva2gpa(vm, pvti_gva); in main()
|
H A D | hyperv_svm_test.c | 171 vcpu_args_set(vcpu, 3, nested_gva, hv_pages_gva, addr_gva2gpa(vm, hcall_page)); in main()
|
H A D | hyperv_evmcs.c | 257 vcpu_args_set(vcpu, 3, vmx_pages_gva, hv_pages_gva, addr_gva2gpa(vm, hcall_page)); in main()
|
H A D | hyperv_features.c | 546 vcpu_args_set(vcpu, 2, addr_gva2gpa(vm, hcall_page), hcall_params); in guest_test_hcalls_access()
|
H A D | hyperv_tlb_flush.c | 601 data->hcall_gpa = addr_gva2gpa(vm, data->hcall_gva); in main()
|
/openbmc/linux/tools/testing/selftests/kvm/include/ |
H A D | kvm_util_base.h | 893 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 D | memop.c | 203 __desc.gaddr = addr_gva2gpa(__info.vm, __desc.gaddr_v); \
|
/openbmc/linux/tools/testing/selftests/kvm/lib/ |
H A D | kvm_util.c | 2006 return addr_gpa2hva(vm, addr_gva2gpa(vm, gva)); in addr_gva2hva()
|