Lines Matching refs:vm
11 struct hyperv_test_pages *vcpu_alloc_hyperv_test_pages(struct kvm_vm *vm,
14 vm_vaddr_t hv_pages_gva = vm_vaddr_alloc_page(vm);
15 struct hyperv_test_pages *hv = addr_gva2hva(vm, hv_pages_gva);
18 hv->vp_assist = (void *)vm_vaddr_alloc_page(vm);
19 hv->vp_assist_hva = addr_gva2hva(vm, (uintptr_t)hv->vp_assist);
20 hv->vp_assist_gpa = addr_gva2gpa(vm, (uintptr_t)hv->vp_assist);
23 hv->partition_assist = (void *)vm_vaddr_alloc_page(vm);
24 hv->partition_assist_hva = addr_gva2hva(vm, (uintptr_t)hv->partition_assist);
25 hv->partition_assist_gpa = addr_gva2gpa(vm, (uintptr_t)hv->partition_assist);
28 hv->enlightened_vmcs = (void *)vm_vaddr_alloc_page(vm);
29 hv->enlightened_vmcs_hva = addr_gva2hva(vm, (uintptr_t)hv->enlightened_vmcs);
30 hv->enlightened_vmcs_gpa = addr_gva2gpa(vm, (uintptr_t)hv->enlightened_vmcs);