Hello everybody,
I recently installed windows 10 on 13.1 freebsd host following the instructions in the excelent article From 0 to Bhyve on FreeBSD 13.1 from klarasystems.com, except that I don't use the recommended desktop, but instead I use the i3 windows manager.
Everything works fine but I don't have access to usb devices from the windows guest.
Here is my /boot/loader.conf modified by adding the last two lines
Here the result of the
Here is the content of my uefi.conf.
I don't know which the correct syntax for passthru should be.
I also tried something like
with no success.
(On windows guest on Device Manager/xhci usb I have: Bus/Device/Function 0/8/0)
I mention that I use an HP 255 G7 AMD Ryzen 3 laptop.
Thanks in advance for any help.
I recently installed windows 10 on 13.1 freebsd host following the instructions in the excelent article From 0 to Bhyve on FreeBSD 13.1 from klarasystems.com, except that I don't use the recommended desktop, but instead I use the i3 windows manager.
Everything works fine but I don't have access to usb devices from the windows guest.
Here is my /boot/loader.conf modified by adding the last two lines
Code:
kern.geom.label.disk_ident.enable="0"
kern.geom.label.gptid.enable="0"
cryptodev_load="YES"
zfs_load="YES"
kern.vty=vt
vmm_load="YES"
nmdm_load="YES"
#if_bridge_load="YES"
#if_tap_load="YES"
hw.vmm.amdvi.enable=1
pptdevs="3/0/3 3/0/4"
vm passthru
Code:
DEVICE BHYVE ID READY DESCRIPTION
hostb0 0/0/0 No Raven/Raven2 Root Complex
amdiommu0 0/0/2 No Raven/Raven2 IOMMU
hostb1 0/1/0 No Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
pcib1 0/1/2 No Raven/Raven2 PCIe GPP Bridge [6:0]
pcib2 0/1/3 No Raven/Raven2 PCIe GPP Bridge [6:0]
hostb2 0/8/0 No Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
pcib3 0/8/1 No Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus A
pcib4 0/8/2 No Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus B
intsmb0 0/20/0 No FCH SMBus Controller
isab0 0/20/3 No FCH LPC Bridge
hostb3 0/24/0 No Raven/Raven2 Device 24: Function 0
hostb4 0/24/1 No Raven/Raven2 Device 24: Function 1
hostb5 0/24/2 No Raven/Raven2 Device 24: Function 2
hostb6 0/24/3 No Raven/Raven2 Device 24: Function 3
hostb7 0/24/4 No Raven/Raven2 Device 24: Function 4
hostb8 0/24/5 No Raven/Raven2 Device 24: Function 5
hostb9 0/24/6 No Raven/Raven2 Device 24: Function 6
hostb10 0/24/7 No Raven/Raven2 Device 24: Function 7
re0 1/0/0 No RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
none0 2/0/0 No RTL8821CE 802.11ac PCIe Wireless Network Adapter
vgapci0 3/0/0 No Picasso/Raven 2 [Radeon Vega Series / Radeon Vega Mobile Series]
hdac0 3/0/1 No Raven/Raven2/Fenghuang HDMI/DP Audio Controller
none1 3/0/2 No Family 17h (Models 10h-1fh) Platform Security Processor
ppt0 3/0/3 Yes Raven USB 3.1
ppt1 3/0/4 Yes Raven USB 3.1
none2 3/0/5 No ACP/ACP3X/ACP6x Audio Coprocessor
hdac1 3/0/6 No Family 17h/19h HD Audio Controller
none3 3/0/7 No Raven/Raven2/Renoir Non-Sensor Fusion Hub KMDF driver
ahci0 4/0/0 No FCH SATA Controller [AHCI mode]
Code:
:
loader="uefi"
graphics="yes"
xhci_mouse="yes"
cpu=2
cpu_sockets=1
cpu_cores=2
memory=4G
ahci_device_limit="8"
#network0_type="e1000"
network0_type="virtio-net"
network0_switch="public"
disk0_type="nvme"
disk0_name="disk0.img"
disk1_type="ahci-cd"
disk1_dev="custom"
disk1_name="/zroot/bhyve/virtio-win-0.1.221.iso"
passthru0="3/0/3"
passthru1="3/0/4"
utctime="no"
I also tried something like
Code:
:
passthru0="3/0/3=0:8"
passthru1="3/0/4=0:8"
(On windows guest on Device Manager/xhci usb I have: Bus/Device/Function 0/8/0)
I mention that I use an HP 255 G7 AMD Ryzen 3 laptop.
Thanks in advance for any help.