bhyve and PCI Passthrough a USB Controller
Philipp Wuensche
cryx-freebsd at h3q.com
Wed Feb 18 10:02:56 UTC 2015
Neel Natu wrote:
> Hi Philipp,
>
> On Mon, Feb 16, 2015 at 3:09 AM, Philipp Wuensche <cryx-freebsd at h3q.com> wrote:
>> Peter Grehan wrote:
>>> Would you be willing to try a patch that relaxes that check ?
>> Yes! The system isn't in production yet so I can try out stuff.
>>
>
> Can you try this patch?
> https://people.freebsd.org/~neel/patches/bhyve_ignore_unsupported_pba.patch
Just works! I'm seeing the usb controller from within the VM and I can
use it.
>From within the VM:
xhci0: <XHCI (generic) USB 3.0 controller> mem 0xc0004000-0xc0005fff irq
40 at device 7.0 on pci0
xhci0: 64 byte context size.
usbus0 on xhci0
ugen0.2: <Corsair> at usbus0
umass0: <Corsair Voyager 3.0, class 0/0, rev 3.00/0.00, addr 1> on usbus0
umass0: SCSI over Bulk-Only; quirks = 0x4100
umass0:0:0:-1: Attached to scbus0
da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
da0: <Corsair Voyager 3.0 1.00> Removable Direct Access SCSI-4 device
da0: Serial Number 22110508350000010125
da0: 400.000MB/s transfers
da0: 15300MB (31334400 512 byte sectors: 255H 63S/T 1950C)
da0: quirks=0x2<NO_6_BYTE>
xhci0 at pci0:0:7:0: class=0x0c0330 card=0x00151912 chip=0x00151912
rev=0x02 hdr=0x00
vendor = 'Renesas Technology Corp.'
class = serial bus
subclass = USB
# usbconfig list
ugen0.1: <XHCI root HUB 0x1912> at usbus0, cfg=0 md=HOST spd=SUPER
(5.0Gbps) pwr=SAVE (0mA)
ugen0.2: <Voyager 3.0 Corsair> at usbus0, cfg=0 md=HOST spd=SUPER
(5.0Gbps) pwr=ON (224mA)
Greetings,
Philipp
More information about the freebsd-virtualization
mailing list