Are there audio devices which can be emulated ?
We discussed this in other threads. The audio emulation (hda) works with:hda support was imported 8 months ago
bhyve ... -s 9,hda,play=/dev/dsp,rec=/dev/dsp ...
xfreerdp ... /sound:sys:oss,dev:3 /microphone:sys:oss,format:1 ...
Well that's a shame. As mentioned I don't have anything to do with audio on FreeBSD, but I would of hoped that the "hda" device would of effectively provided high definition channels direct between the host and guest. (There is mention that a sysctl needs to change with a Windows guest, as Windows tries to reduce latency by accessing the device far more often that stock FreeBSD is set up for)
ppt6@pci0:134:0:0: class=0x030000 card=0x8c931462 chip=0x128b10de rev=0xa1 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'GK208B [GeForce GT 710]' class = display subclass = VGA ppt7@pci0:134:0:1: class=0x040300 card=0x8c931462 chip=0x0e0f10de rev=0xa1 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'GK208 HDMI/DP Audio Controller' class = multimedia subclass = HDA
Reaction score: 72
Did you mean the reverse - use hardware recognised by the host even when there is no driver for the guest?This pci passthrough is a very interesting concept.
If i'm correct it allows to use hardware recognised by the guest even when there is no driver for the host.
Reaction score: 20
$ cd $HOME $ svn co https://svn.FreeBSD.org/base/head freebsd-head $ cd freebsd-head $ svn diff -c 349335 > patch1.diff $ svn diff -c 350255 > patch2.diff
# cd /usr/src/usr.sbin/bhyve # patch -Np2 -i $HOME/freebsd-head/patch1.diff # patch -Np2 -i $HOME/freebsd-head/patch2.diff # make # make install
grub-bhyve -S -r cd0 -m /vm/device.map -M 2048 devuan1
bhyve -S -c 4 -m 8G -A -H -P -u -s 0:0,hostbridge -s 3:0,ahci-hd,/vm/devuan1.img -s 4:0,ahci-cd,/vm/devuan_ascii_2.1_amd64_netinst.iso -s 5:0,passthru,132/0/1 -s 30:0,xhci,tablet -s 31:0,lpc -l com1,/dev/nmdm4A devuan1
grub-bhyve -m /vm/device.map -r hd0,msdos1 -M 2048M -S devuan1 -d /boot/grub/
sleep 6### I need this for my bhyve startup script as the grub menu has to complete before I can load bhyve ###
bhyve -S -c 4 -m 2G -A -H -P -u -s 0:0,hostbridge -s 3:0,ahci-hd,/vm/devuan1.img -s 5:0,passthru,132/0/1 -s 30:0,xhci,tablet -s 31:0,lpc -l com1,/dev/nmdm4A devuan1 &### the ampersand(&) is needed for my startup script.###
cu -l /dev/nmdm4B
lspci | egrep -i 'network|ethernet'