[Qemu-devel] [PATCH 07/18] usb-linux: use usb_generic_handle_packet()

2011-05-23 Thread Gerd Hoffmann
From: Hans de Goede Make the linux usb host passthrough code use the usb_generic_handle_packet() function, rather then the curent DYI code. This removes 200 lines of almost identical code. Signed-off-by: Hans de Goede --- hw/usb.c| 41 +- hw/usb.h|1 + usb-linux.c | 269

[Qemu-devel] [PATCH 07/18] usb-linux: use usb_generic_handle_packet()

2011-05-16 Thread Gerd Hoffmann
From: Hans de Goede Make the linux usb host passthrough code use the usb_generic_handle_packet() function, rather then the curent DYI code. This removes 200 lines of almost identical code. Signed-off-by: Hans de Goede Signed-off-by: Gerd Hoffmann --- hw/usb.c| 41 +- hw/usb.h