Add "allow instance" option.
authorreyk <reyk@openbsd.org>
Fri, 13 Jul 2018 08:42:49 +0000 (08:42 +0000)
committerreyk <reyk@openbsd.org>
Fri, 13 Jul 2018 08:42:49 +0000 (08:42 +0000)
commit476d73d100cee30df751178c194252b2c9cc1cfd
treedac435934fa8697135f57c42f0cc641074a76574
parentaf9d854e44f761c5fdf6bb90ba39373ee764c2f8
Add "allow instance" option.

This allows users to create VM instances and change desired options,
for example a user can be allowed to run a VM with all the
pre-configured options but specify an own disk image.

(mlarkin@ was fine with iterating over it)

OK ccardenas@
usr.sbin/vmd/control.c
usr.sbin/vmd/parse.y
usr.sbin/vmd/vm.conf.5
usr.sbin/vmd/vmd.c
usr.sbin/vmd/vmd.h
usr.sbin/vmd/vmm.c