Re: Multiple bugs on bhyve present on FreeBSD 13R p7 while passing thru USB controller and graphic card

From: Aryeh Friedman <aryeh.friedman_at_gmail.com>
Date: Tue, 08 Feb 2022 17:17:06 UTC
> I'm using bhyve on FreeBSD 13R p7 and I'm trying to pass thru my usb
> controller and / or my graphic card while at the same time I'm trying to
> boot 3 operating systems (Ubuntu,Windows and FreeBSD 13) installed on a
> SATA and / or NVME disk using the virtio-blk driver and the ahci-hd driver.
>

It is my understand for devices to be successfully passed through (based on
my own semi-working attempts and research) the device must meet the
following two conditions:

1. Be used exclusively by the guest OS and not the host OS
2. The host OS needs to not even load drivers for the device(s)

For example on the GPU this means you would need to boot the host from a
serial port and/or GPU that is not used by the host and not loaded at boot
time and then, and only then, can you pass it through to the guest OS
(wither or not the guest OS recognizes it is an other question though).

As to good stable bhyve invocation I recommend you look at the source
code/output of either the shell based ports for making bhyve VM's or at
PetiteCloud (if you do the second I would be very interested in the results
so I can incorporate them into a future version of PC).


-- 
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org