Re: access usb device from bhyve vm

2018-08-24 Thread Rodney W. Grimes
> 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 rgri...@freebsd.org
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


access usb device from bhyve vm

2018-08-24 Thread John Hein
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?
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"