[Qemu-devel] [PATCH 9/9] usb-hub: don't trigger assert on packet completion.

2011-10-13 Thread Gerd Hoffmann
Calling usb_packet_complete() recursively when passing up the completion event up the chain for devices connected via usb hub will trigger an assert. So don't do that, make the usb hub emulation call the upstream completion callback directly instead. Based on a patch from Stefan Hajnoczi

Re: [Qemu-devel] [PATCH 9/9] usb-hub: don't trigger assert on packet completion.

2011-10-13 Thread Gerd Hoffmann
Hi, -usb_packet_complete(s-dev, packet); +s-dev.port-ops-complete(s-dev.port, packet); Oops, that doesn't compile. Got sidetracked wile waiting for the test build finish, then forgot to check the results :( Updated patch attached. Branch for pulling updated inplace. cheers,