access usb device from bhyve vm

John Hein jh-fbml at snkmail.com
Wed Aug 22 16:48:02 UTC 2018


blubee blubeeme wrote at 08:42 +0800 on Aug 22, 2018:
 > On Wed, Aug 22, 2018 at 8:26 AM John Hein <jh-fbml at snkmail.com> wrote:
 > 
 >     Does anyone have thought about what it would take to support access to
 >     individual usb devices "natively" from a bhyve vm?
 >     _______________________________________________
 >     freebsd-usb at freebsd.org mailing list
 >     https://lists.freebsd.org/mailman/listinfo/freebsd-usb
 >     To unsubscribe, send any mail to "freebsd-usb-unsubscribe at freebsd.org"
 > 
 > I had this idea maybe a year or two years ago, there was also another guy [he worked
 > on the fbuffer for bhyve] who wanted to get it done but they were waiting on the
 > main guy behind the USB stack on freebsd: hselasky
 > 
 > He was too busy to actually do any work so the project stalled.
 > 
 > My use case for having direct access to usb devices in a bhyve vm could allow rapid
 > development of USB drivers for FreeBSD by sniffing the packets being sent over USB
 > to the bhyve guest and reverse engineer drivers so that we can write native drivers
 > for common devices that aren't supported on FreeBSD yet.
 > 
 > I had to put that on the back burner for a bit since there's a lot more pressing
 > FreeBSD issues that I am working on.
 > 
 > What's your use case?

My use case is more specific (and thus perhaps less of a lofty goal?).
I want to access a usb-based fpga jtag programmer from a linux vm
(specifically using a xilinx tool like "impact").


More information about the freebsd-usb mailing list