Home
last modified time | relevance | path

Searched refs:ctlfd (Results 1 – 2 of 2) sorted by relevance

/freebsd/lib/libvmmapi/
H A Dvmmapi.c104 vm_ctl_create(const char *name, int flags, int ctlfd) in vm_ctl_create() argument
115 return (ioctl(ctlfd, VMMCTL_VM_CREATE, &vmc)); in vm_ctl_create()
156 vm->fd = vm->ctlfd = -1; in vm_openf()
162 if ((vm->ctlfd = vm_ctl_open()) < 0) in vm_openf()
168 if (vm_ctl_create(vm->name, flags, vm->ctlfd) != 0) in vm_openf()
198 if (vm->ctlfd >= 0) in vm_close()
199 (void)close(vm->ctlfd); in vm_close()
210 if (ioctl(vm->ctlfd, VMMCTL_VM_DESTROY, &vmd) != 0) in vm_destroy()
H A Dinternal.h15 int ctlfd; /* vmm control descriptor */ member