Lines Matching refs:vmid
37 vm->vmid = ACRN_INVALID_VMID; in acrn_dev_open()
124 if (vm->vmid == ACRN_INVALID_VMID && cmd != ACRN_IOCTL_CREATE_VM) { in acrn_dev_ioctl()
158 ret = hcall_start_vm(vm->vmid); in acrn_dev_ioctl()
161 "Failed to start VM %u!\n", vm->vmid); in acrn_dev_ioctl()
164 ret = hcall_pause_vm(vm->vmid); in acrn_dev_ioctl()
167 "Failed to pause VM %u!\n", vm->vmid); in acrn_dev_ioctl()
170 ret = hcall_reset_vm(vm->vmid); in acrn_dev_ioctl()
173 "Failed to restart VM %u!\n", vm->vmid); in acrn_dev_ioctl()
209 ret = hcall_set_vcpu_regs(vm->vmid, virt_to_phys(cpu_regs)); in acrn_dev_ioctl()
213 vm->vmid); in acrn_dev_ioctl()
236 ret = hcall_assign_pcidev(vm->vmid, virt_to_phys(pcidev)); in acrn_dev_ioctl()
248 ret = hcall_deassign_pcidev(vm->vmid, virt_to_phys(pcidev)); in acrn_dev_ioctl()
260 ret = hcall_set_ptdev_intr(vm->vmid, virt_to_phys(irq_info)); in acrn_dev_ioctl()
272 ret = hcall_reset_ptdev_intr(vm->vmid, virt_to_phys(irq_info)); in acrn_dev_ioctl()
279 ret = hcall_set_irqline(vm->vmid, ioctl_param); in acrn_dev_ioctl()
290 ret = hcall_inject_msi(vm->vmid, virt_to_phys(msi)); in acrn_dev_ioctl()
305 ret = hcall_vm_intr_monitor(vm->vmid, page_to_phys(page)); in acrn_dev_ioctl()