Date: Fri, 24 Aug 2018 19:56:49 -0700 (PDT) From: "Rodney W. Grimes" <freebsd-rwg@pdx.rh.CN85.dnsmgr.net> To: John Hein <jh-fbml@snkmail.com> Cc: virtualization@freebsd.org Subject: Re: access usb device from bhyve vm Message-ID: <201808250256.w7P2unlh098238@pdx.rh.CN85.dnsmgr.net> In-Reply-To: <749-1535155926-263682@sneakemail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> I asked this on usb@, but might get a better bhyve perspective on this > list... > > Does anyone have thought about what it would take to support access to > individual usb devices "natively" from a bhyve vm? The best though on this, and note I have not done this with bhyve, but have done it with ESXi, is to get yourself a PCI USB card, and pass the card in as a PCI device. Note that for bhyve this requires a careful selection of that PCI card, as the BAR's have to be page sized and paged aligned to not have some issues getting it passed in due to the fact that the IOMMU only works on pages aligned and sized stuff. I have asked about what magic would it take to make our USB stack allow this and it is "non trivial". -- Rod Grimes rgrimes@freebsd.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808250256.w7P2unlh098238>