Allow starting a VM again after it was terminated
authorstefan <stefan@openbsd.org>
Fri, 29 Jul 2016 16:36:51 +0000 (16:36 +0000)
committerstefan <stefan@openbsd.org>
Fri, 29 Jul 2016 16:36:51 +0000 (16:36 +0000)
commit299ee841cb065ba278002b8561e53b189f792652
tree4762916d314b0f1bec9a5fad41bce3b0d138eb94
parent8df09a061adcef01fa78b06913ab949703dd6e35
Allow starting a VM again after it was terminated

If a VM exits, terminate it and remove it from the list of
available VMs. That allows a VM with name `foo' to be restarted
after it has exited.

This changes structures shared between vmd and vmctl. You need to
rebuild vmctl also.

ok mlarkin@
usr.sbin/vmd/config.c
usr.sbin/vmd/vmd.c
usr.sbin/vmd/vmd.h
usr.sbin/vmd/vmm.c