diff options
author | 2017-03-15 19:54:52 +0000 | |
---|---|---|
committer | 2017-03-15 19:54:52 +0000 | |
commit | 1208f14c0d1caa86a38f9df4e592f0445e63393a (patch) | |
tree | 35eb926af6b39cdb41e227b04448b325b3223489 /lib | |
parent | Improve vmmci(4) shutdown and reboot. (diff) | |
download | wireguard-openbsd-1208f14c0d1caa86a38f9df4e592f0445e63393a.tar.xz wireguard-openbsd-1208f14c0d1caa86a38f9df4e592f0445e63393a.zip |
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.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions