Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Aug 2018 10:47:30 -0600
From:      "John Hein" <jh-fbml@snkmail.com>
To:        usb@freebsd.org
Subject:   Re: access usb device from bhyve vm
Message-ID:  <11601-1534956478-23307@sneakemail.com>
In-Reply-To: <CALM2mEnyHUnw3p9QbwyZ1NzgBNXgbWjF9YmEV2f4BpWnp4ednQ@mail.gmail.com>
References:  <1634-1534897546-921625@sneakemail.com> <CALM2mEnyHUnw3p9QbwyZ1NzgBNXgbWjF9YmEV2f4BpWnp4ednQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
blubee blubeeme wrote at 08:42 +0800 on Aug 22, 2018:
 > On Wed, Aug 22, 2018 at 8:26 AM John Hein <jh-fbml@snkmail.com> wrot=
e:
 >=20
 >     Does anyone have thought about what it would take to support acc=
ess to
 >     individual usb devices "natively" from a bhyve vm=3F
 >     =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F
 >     freebsd-usb@freebsd.org mailing list
 >     https://lists.freebsd.org/mailman/listinfo/freebsd-usb
 >     To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebs=
d.org"
 >=20
 > I had this idea maybe a year or two years ago, there was also anothe=
r guy [he worked
 > on the fbuffer for bhyve] who wanted to get it done but they were wa=
iting on the
 > main guy behind the USB stack on freebsd:=A0hselasky
 >=20
 > He was too busy to actually do any work so the project stalled.
 >=20
 > My use case for having direct access to usb devices in a bhyve vm co=
uld 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.
 >=20
 > I had to put that on the back burner for a bit since there's a lot m=
ore pressing
 > FreeBSD issues that I am working on.
 >=20
 > What's your use case=3F

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?11601-1534956478-23307>