Date: Thu, 12 Feb 2015 15:07:08 -0800 From: Peter Grehan <grehan@freebsd.org> To: Philipp Wuensche <cryx-freebsd@h3q.com> Cc: freebsd-virtualization@freebsd.org Subject: Re: bhyve and PCI Passthrough a USB Controller Message-ID: <54DD321C.80808@freebsd.org> In-Reply-To: <54DC8B98.4090902@h3q.com> References: <54DC8B98.4090902@h3q.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Philipp, > I then try to bind the controller to the VM using the bhyve command > option "-s 7,passthru,7/0/0". The loader starts but then bhyve exits with: > > "Unsupported MSI-X configuration: 7/0/0" This error message is when bhyve sees the MSI-x table and PBA (pending bit-array) regions being in the same physical page. It's perhaps overly cautious since we don't implement the PBA in any case. Would you be willing to try a patch that relaxes that check ? Another option for bhyve is to hide the MSI-x capability from the guest, which should hopefully fall back to using MSI. > Is there anything similar with bhyve to get the controller working or > should I start hunting for a different controller that might work as on > the VMware mailinglist suggested? > > Any suggestions for known to be working USB Controllers with bhyve and > PCI passthrough? I've not tried with any discrete cards, but any XHCI controller that has the table and PBA regions either in separate BARs or not in the same 4K region (recommended behaviour in the PCIe spec) should be fine. later, Peter,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54DD321C.80808>