Searched refs:ctlfd (Results 1 – 2 of 2) sorted by relevance
102 vm_ctl_create(const char *name, int ctlfd) in vm_ctl_create() argument111 return (ioctl(ctlfd, VMMCTL_VM_CREATE, &vmc)); in vm_ctl_create()152 vm->fd = vm->ctlfd = -1; in vm_openf()158 if ((vm->ctlfd = vm_ctl_open()) < 0) in vm_openf()164 if (vm_ctl_create(vm->name, vm->ctlfd) != 0) in vm_openf()194 if (vm->ctlfd >= 0) in vm_close()195 (void)close(vm->ctlfd); in vm_close()206 if (ioctl(vm->ctlfd, VMMCTL_VM_DESTROY, &vmd) != 0) in vm_destroy()
20 int ctlfd; /* vmm control descriptor */ member