Re: [Qemu-devel] usb_packet_complete assert(p->owner != NULL)

2011-10-10 Thread Gerd Hoffmann
Hi, -usb_packet_complete(&s->dev, packet); +s->dev.port->ops->complete(s->dev.port, packet); } The hub is now directly invoking .complete() and not messing with packet->owner (which is already NULL). We don't hit the assertion anymore. Does the attached patch work for you? che

[Qemu-devel] usb_packet_complete assert(p->owner != NULL)

2011-10-08 Thread Stefan Hajnoczi
Hi, I hit an assertion in hw/usb.c when passing through a host USB device on qemu.git/master (e4fc8781db7c49b0c5ac5d24762e17c59dfe0871). This device has never worked before and I was curious to see how qemu.git/master would do. The assertion is: void usb_packet_complete(USBDevice *dev, USBPacket