The only thing missing is migration from old iohyve saved zfs images to vm-bhyve or libvirt
Otherwise, a super and very complete guide. Well worth bookmarking if you want to do virtualised os on FreeBSD.
Otherwise, a super and very complete guide. Well worth bookmarking if you want to do virtualised os on FreeBSD.
- /dev/zvol/zroot/iohyve/VMNAME/disk0
So the migration would be:
- create your new VM with disk of the same size
- check your new VM disk place at 'vm-bhyve':
# vm info VM | grep system-path
system-path: /vm/VM/disk0.img
- copy contents of 'iohyve' disk into VM disk # dd bs=1m if=/dev/zvol/zroot/iohyve/VMNAME/disk0 of=/vm/VM/disk0.img
- start your new VMThis should work.
Same with libvirt/virt-manager - just copy your VM image from /var/lib/libvirt/images/ dir and it should work the same.
Hope that helps.
Hope that helps.
And some of the complex multiple network device configurations, I had iohyve administered virtuals with a backend filestore network as well as a front door.
Iohyve used zfs environment vars embedded in the FS to hold configuration which was clever, arguably too clever.