Home
last modified time | relevance | path

Searched refs:vm_tty (Results 1 – 6 of 6) sorted by relevance

/openbsd/src/usr.sbin/vmd/
Dvmm.c280 vm->vm_tty = imsg_get_fd(imsg); in vmm_dispatch_parent()
661 if ((vm->vm_tty = imsg_get_fd(imsg)) == -1) { in vmm_start_vm()
708 if (close_fd(vm->vm_tty) == 0) in vmm_start_vm()
709 vm->vm_tty = -1; in vmm_start_vm()
Dvmd.c1333 vm->vm_tty = -1; in vm_register()
1744 if (fdopenpty(env->vmd_ptmfd, &vm->vm_tty, &tty_slave, vm->vm_ttyname, in vm_opentty()
1754 if (ioctl(vm->vm_tty, TIOCUCNTL, &on) == -1) { in vm_opentty()
1781 if (fstat(vm->vm_tty, &st) == -1) { in vm_opentty()
1819 if (vm->vm_tty != -1) { in vm_closetty()
1821 if (fchown(vm->vm_tty, 0, 0) == -1) in vm_closetty()
1823 if (fchmod(vm->vm_tty, 0666) == -1) in vm_closetty()
1825 close(vm->vm_tty); in vm_closetty()
1826 vm->vm_tty = -1; in vm_closetty()
Dvmd.h320 int vm_tty; member
Dconfig.c469 if ((fd = dup(vm->vm_tty)) == -1) { in config_setvm()
Dvirtio.c1474 close_fd(vm->vm_tty); in virtio_dev_launch()
1475 vm->vm_tty = -1; in virtio_dev_launch()
Dvm.c238 con_fd = vm->vm_tty; in start_vm()