Hello list. Linked are some fixes to the hub layer that allow a
FreeBSD guest's usb stack to run. Basically it allows for a variable
hub descriptor size (if qemu currently had 7 emulated ports on the hub
it would be OK). With this it was able to mount a flash drive and
transfer some files from the drive to the guest. The patch applies to
current cvs.
The 'FreeBSD Workaround' can best be explained by this:
http://fxr.watson.org/fxr/source/dev/usb/uhub.c?v=RELENG6#L83
The data for the status change enpdoint in FreeBSD's uhub layer is a
fixed byte. This is of course incorrect and the patch compensates
slightly for this in order to allow the driver to at least run.
http://gnome.dnsalias.net/patches/qemu-hubfixups.patch
_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel