bhyve bhyve not pointing out the error

Hi folks!

I'm trying to start a VM with the following command:
sh:
bhyve -c 8 -m 16G -Hwl bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd -U c3bbc794-729c-11ef-8d45-18c04d666a06 -u \
    -s 0,hostbridge \
    -s 31,lpc \
    -s 4:0,virtio-blk,/dev/label/kubelet1 \
    -s 5:0,virtio-net,tap0,mac=58:9c:fc:01:76:cd \
    -s 6:0,fbuf,tcp=0.0.0.0:5999,w=1600,h=900 \
    -s 7:0,xhci,tablet \
    -l com1,/dev/nmdm-kubelet1.1A
The result is the help text and a return value of 1. No log message or any hint else I could get a hunch of what I did wrong.

Any clues out there? ;)
 
As you're using sysutils/vm-bhyve, try adding debug="yes" to your VM's config.
When you next start your VM, an additional debug.log file should be created that might contain something useful.

It looks like you're using the UEFI bootrom / loader, but there's no mention of the -A flag.
If you're using an older version of sysutils/vm-bhyve then you might need to add / modify your VM config's bhyve_options to include the -A flag.

If the above doesn't help, definitely consider posting your FreeBSD version, version of sysutils/vm-bhyve, sysutils/edk2 (A-K-A edk2-bhyve), etc.

For comparison, an example of a working VM config is at https://forums.freebsd.org/threads/...rough-with-windows-10-guest.94118/post-662141
 
Back
Top