Category «bhyve»

bhyve pci_hda audio Assertion failed: (!(bdle_sz % HDA_DMA_ACCESS_LEN)) on FreeBSD 12

If you are like me, using the pci_hda audio on FreeBSD 12 (12.2 in my case). Make sure to cherry-pick the following commit: b151e337: Fix the register layout for the Buffer Descript List Entry. Without that commit, the pci_hda might fail on certain guests with the following message: Assertion failed: (!(bdle_sz % HDA_DMA_ACCESS_LEN)), function hda_stream_start, …

bhyve guest HD audio in FreeBSD 12.1

HD audio works now on FreeBSD 12.1 bhyve guests, than to the following work https://wiki.freebsd.org/SummerOfCode2016/HDAudioEmulationForBhyve In order to use it under FreeBSD 12.1, you need commit 349335 and 350255 from FreeBSD head, that you can get at the following two links, https://reviews.freebsd.org/rS349335, https://reviews.freebsd.org/rS350255. Alternatively, you can get them by using svn $ cd $HOME $ …

bhyve wireless NAT vm setup

Chapter 21 of the FreeBSD handbook on bhyve (https://www.freebsd.org/doc/handbook/virtualization-host-bhyve.html) explains how to setup bridged network for your vm. This will work on an ethernet network card, but it won’t work on wlan (wlan cannot have more than one MAC address). I use bhyve on my FreeBSD 12.1 laptop to fire up Linux VM. So typically …