Lines Matching refs:vmid
37 vm->vmid = ACRN_INVALID_VMID; in acrn_dev_open()
126 if (vm->vmid == ACRN_INVALID_VMID && cmd != ACRN_IOCTL_CREATE_VM) { in acrn_dev_ioctl()
160 ret = hcall_start_vm(vm->vmid); in acrn_dev_ioctl()
163 "Failed to start VM %u!\n", vm->vmid); in acrn_dev_ioctl()
166 ret = hcall_pause_vm(vm->vmid); in acrn_dev_ioctl()
169 "Failed to pause VM %u!\n", vm->vmid); in acrn_dev_ioctl()
172 ret = hcall_reset_vm(vm->vmid); in acrn_dev_ioctl()
175 "Failed to restart VM %u!\n", vm->vmid); in acrn_dev_ioctl()
211 ret = hcall_set_vcpu_regs(vm->vmid, virt_to_phys(cpu_regs)); in acrn_dev_ioctl()
215 vm->vmid); in acrn_dev_ioctl()
238 ret = hcall_assign_mmiodev(vm->vmid, virt_to_phys(mmiodev)); in acrn_dev_ioctl()
250 ret = hcall_deassign_mmiodev(vm->vmid, virt_to_phys(mmiodev)); in acrn_dev_ioctl()
262 ret = hcall_assign_pcidev(vm->vmid, virt_to_phys(pcidev)); in acrn_dev_ioctl()
274 ret = hcall_deassign_pcidev(vm->vmid, virt_to_phys(pcidev)); in acrn_dev_ioctl()
286 ret = hcall_create_vdev(vm->vmid, virt_to_phys(vdev)); in acrn_dev_ioctl()
297 ret = hcall_destroy_vdev(vm->vmid, virt_to_phys(vdev)); in acrn_dev_ioctl()
309 ret = hcall_set_ptdev_intr(vm->vmid, virt_to_phys(irq_info)); in acrn_dev_ioctl()
321 ret = hcall_reset_ptdev_intr(vm->vmid, virt_to_phys(irq_info)); in acrn_dev_ioctl()
328 ret = hcall_set_irqline(vm->vmid, ioctl_param); in acrn_dev_ioctl()
339 ret = hcall_inject_msi(vm->vmid, virt_to_phys(msi)); in acrn_dev_ioctl()
354 ret = hcall_vm_intr_monitor(vm->vmid, page_to_phys(page)); in acrn_dev_ioctl()