CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2017/03/15 11:53:10

Modified files:
        usr.sbin/vmd   : vmd.c 

Log message:
Close the tty if the VM was powered down.

The parent keeps a copy of each VM's tty fd to reuse it on reboot.
Close this tty if the VM was stopped, and not rebooted, by calling
vm_stop(vm, 0) instead of just setting vm_running to 0.  Also make
sure that vm_ttyname is not used after free'ing it.

Reply via email to