CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2017/03/15 13:54:52
Modified files:
usr.sbin/vmd : vmd.c
Log message:
More fixes for starting and stopping VMs, fixing fallout from vm_running.
- Don't start a VM that is already running
- Keep the VM as running until it is powered off (and not stopping)
- Don't fatal in the parent if the vmm process referenced an unknown VM
- Don't stop a VM that is already stopping
- Indicate that a VM is stopping in "vmctl status"
The previous "vmctl stop; vmctl stop" to force-shutdown is not
supported anymore - the shutdown timeout should make sure that the VM
is really terminated. To force-shutdown, reference the VM by ID.
We might add a flag to vmctl stop to just turn the VM off.