• VMM - /ti-l.de/VMM.txt



	OpenBSD virtualisation
	vmm(4)
	----------------------


Make sure that the cpu is compatiable

dmesg | egrep '(VMX/EPT|SVM/RVI)'

This should output something like

vmm0 at mainbus0: VMX/EPT
vmm0 at mainbus0: VMX/EPT
vmm0 at mainbus0: VMX/EPT


Then enable, and start, vmd:

rcctl enable vmd
rcctl start vmd


Creating a disk for the new virtual machine, start the install and list the running vms'

vmctl create -s 50G disk.qcow2
vmctl start -m 1G -L -i 1 -r install76.iso -d disk.qcow2 example
vmctl show


Connecting to a vm console is done by

vmctl console example


And finally stopping it can be done through

vmctl stop example