qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] hw/usb.c: fix some issues with hub layer preventing


From: Lonnie Mendez
Subject: [Qemu-devel] [PATCH] hw/usb.c: fix some issues with hub layer preventing bsd guest usb stack from running
Date: Fri, 17 Mar 2006 02:18:16 -0600
User-agent: Mozilla Thunderbird 1.0.7 (X11/20050923)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]