io7m / waxmill

FreeBSD BHyve Manager
https://www.io7m.com/software/waxmill
ISC License
0 stars 0 forks source link

vm-console is using the wrong side of the nmdm device #33

Closed io7m closed 4 years ago

io7m commented 4 years ago

vm-run will start a VM like this:

/usr/sbin/bhyve -U 50613ad2-3c93-478b-afa0-d8ac613723da -P -A -w -u -H -c cpus=1,sockets=1,cores=1,threads=1 -m 1000M -s 0:0:0,hostbridge -s 0:1:0,virtio-blk,/dev/zvol/storage/vm/50613ad2-3c93-478b-afa0-d8ac613723da/disk-0_1_0 -s 0:2:0,virtio-net,tap1,mac=aa:11:cc:a0:b6:66 -s 0:3:0,ahci-cd,/storage/images/openbsd-6.7-amd64-install.iso -s 0:4:0,lpc -l com1,/dev/nmdm_50613ad2-3c93-478b-afa0-d8ac613723da_B -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd UGE60jyTR4uvoNisYTcj2g

vm-console will start cu like this:

/usr/bin/cu -l /dev/nmdm_50613ad2-3c93-478b-afa0-d8ac613723da_B

Note the _B in both invocations.