[Bug 279659] virtualization/bhyve: When bhyve virtualizes Windows 10/11 Rufus does not recognizes any USB sticks

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 12 Jun 2024 09:41:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279659

churchers@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |churchers@gmail.com

--- Comment #5 from churchers@gmail.com ---
"
1) I can see the usb stick in Windows,so it works,at least in Windows,it is
recognized and I can copy and paste files from/to the usb stick

2) I don't have and you can't ask me to BUY a dedicated USB controller to be
able to allow Rufus to detect the usb stick when Windows detects it
"

These two comments are irrelevant. Windows is not seeing a USB device at all;
Your bhyve host is seeing a USB device that provides storage and is creating a
block device on the host. You are then passing that block device through to the
guest as a standard ACHI hard drive. Windows sees a "standard" hard drive.

Windows being able to use the provided disk does not in any way suggest that a
tool designed to interface directly with raw USB devices should be able to see
the USB stick itself.

I understand the frustration that currently the only way to achieve what you're
after is to pass an entire USB controller through to the guest, but as
mentioned, what you are really after is individual USB device passthrough,
which would require support in bhyve.

You could try asking on the virtualisation mailing list to see if any work has
been done or is being considered for usb device pass through. This particular
use case for usb storage probably isn't that much in demand seeing as the
storage can be passed through as you already are (and it's not exactly a
difficult work around to just dump whatever image you want onto the stick on
the host itself), but there are many other types of usb device that would be
useful to pass through without having to go the route of reserving and passing
a full controller.

Also, even though you clearly state you don't want to pass through a
controller, it's worth checking if you have more than one. I for example could
very easily pass through the front usb2 controller on my board (it has 4,
usb2/3 front & usb2/3 rear), put the usb stick in the front, and have all my
host usb devices in the rear ports.

-- 
You are receiving this mail because:
You are the assignee for the bug.