Allow to use configured/running VMs as templates for other VM instances.
authorreyk <reyk@openbsd.org>
Thu, 12 Jul 2018 12:04:49 +0000 (12:04 +0000)
committerreyk <reyk@openbsd.org>
Thu, 12 Jul 2018 12:04:49 +0000 (12:04 +0000)
commit6429e63326439075d6cce608bf8dee72a55247e0
tree4ab3d96e86a5ca7ce6f30a2c3811d67751ab4bd9
parent4772489df8df0bcc54890d3dd3c061e984aa8438
Allow to use configured/running VMs as templates for other VM instances.

This introduces new grammar and the -t optional in vmctl start.

(For now, only root can create VM instances; but it is planned to allow
users to create their own VMs based on permissions and quota.)

OK ccardenas@ mlarkin@ jmc@
usr.sbin/vmctl/main.c
usr.sbin/vmctl/vmctl.8
usr.sbin/vmctl/vmctl.c
usr.sbin/vmctl/vmctl.h
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