- Thread Starter
- #26
At the end I've been able to get the result I wanted even without having fixed the main problem. I'm partially satisfied. But it works,so,its ok for now. The main problem that it seems affects only my FreeBSD installation is still there (any bhyve vm [based on linux and on windows] is not able to connect to internet because there is some misconfiguration on my FreeBSD host [not documented or badly documented on the various web sites that I've reached,including the official FreeBSD manual : it means that if I follow the instructions shown there,it will not work],BUT I've been able to get working the audio and the networking of a Linux Ubuntu VM using vm-bhyve,simply using this config file :
it didn't work from the beginning because I used an occupied slot. Problem is that if I use an occupied slot,vm-bhyve doesn't give any error,so a newbie don't know that the VM does not boot because it is using an occupied slot (-s) OR 'cause 1000 other reasons. I think that's not good to don't show specific error messages,because they are useful to help the user to understand whats wrong and they help to fix problems. Anyway thanks to everyone that helped me with their experience,patience and generosity.
Code:
loader="uefi"
cpu=8
memory=8GB
network0_type="virtio-net"
network0_switch="public"
disk0_type="virtio-blk"
disk0_name="ubuntu-budgie-gpu.img"
uuid="ca6be87e-eed2-11eb-abbb-e0d55ee21f22"
network0_mac="58:9c:fc:0a:b1:92"
graphics="yes"
graphics_res="1440x900"
xhci_mouse="yes"
bhyve_options="-s 20,hda,play=/dev/dsp8,rec=/dev/dsp8"
it didn't work from the beginning because I used an occupied slot. Problem is that if I use an occupied slot,vm-bhyve doesn't give any error,so a newbie don't know that the VM does not boot because it is using an occupied slot (-s) OR 'cause 1000 other reasons. I think that's not good to don't show specific error messages,because they are useful to help the user to understand whats wrong and they help to fix problems. Anyway thanks to everyone that helped me with their experience,patience and generosity.
Last edited: