Home
last modified time | relevance | path

Searched refs:vm_param (Results 1 – 3 of 3) sorted by relevance

/drivers/virt/acrn/
Dvm.c26 struct acrn_vm_creation *vm_param) in acrn_vm_create() argument
30 ret = hcall_create_vm(virt_to_phys(vm_param)); in acrn_vm_create()
31 if (ret < 0 || vm_param->vmid == ACRN_INVALID_VMID) { in acrn_vm_create()
40 vm->vmid = vm_param->vmid; in acrn_vm_create()
41 vm->vcpu_num = vm_param->vcpu_num; in acrn_vm_create()
43 if (acrn_ioreq_init(vm, vm_param->ioreq_buf) < 0) { in acrn_vm_create()
44 hcall_destroy_vm(vm_param->vmid); in acrn_vm_create()
Dhsm.c111 struct acrn_vm_creation *vm_param; in acrn_dev_ioctl() local
134 vm_param = memdup_user((void __user *)ioctl_param, in acrn_dev_ioctl()
136 if (IS_ERR(vm_param)) in acrn_dev_ioctl()
137 return PTR_ERR(vm_param); in acrn_dev_ioctl()
139 if ((vm_param->reserved0 | vm_param->reserved1) != 0) { in acrn_dev_ioctl()
140 kfree(vm_param); in acrn_dev_ioctl()
144 vm = acrn_vm_create(vm, vm_param); in acrn_dev_ioctl()
147 kfree(vm_param); in acrn_dev_ioctl()
151 if (copy_to_user((void __user *)ioctl_param, vm_param, in acrn_dev_ioctl()
157 kfree(vm_param); in acrn_dev_ioctl()
Dacrn_drv.h192 struct acrn_vm_creation *vm_param);