Bug#962708: Please build dummy_hcd and g_mass_storage modules
Package: linux-image-amd64
Severity: wishlist
Hi,
When using the spice protocol one can via usbredir give
the remote guest VM access to a local USB device, all
with a nice UI in spicy or remote-viewer which
allows you to select the local USB device to share.
It would be nice when you have downloaded an ISO file (eg debian ISO)
not to have to dd it to a real USB device in order
to then make it available to the VM via spice.
It should be doable virtually without a real device
using dummy_hcd and g_mass_storage kernel modules according to:
https://unix.stackexchange.com/questions/373569/emulating-usb-device-with-a-file-using-g-mass-storage-udc-core-couldnt-find
However those two modules are not packaged in stable 4.19 kernel:
# modprobe dummy_hcd
modprobe: FATAL: Module dummy_hcd not found in directory
/lib/modules/4.19.0-8-amd64
# modprobe g_mass_storage
modprobe: FATAL: Module g_mass_storage not found in directory
/lib/modules/4.19.0-8-amd64
Note: this was requested a while ago but with another
use in mind which had a better solution for the user:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=678731
Thanks in advance for your help,
Sincerely,
Laurent GUERBY
Reply to: