Re: [Qemu-devel] [PATCH 3/3] usb-mtp: add support for basic mtp events

2015-11-05 Thread Bandan Das
Gerd Hoffmann writes: > On Di, 2015-11-03 at 19:00 -0500, Bandan Das wrote: >> -.wMaxPacketSize= 8, >> +.wMaxPacketSize= 64, > > This is a guest-visible change, so strictly speaking this needs be tied > to the machine type. I think we can be a bit sloppy h

Re: [Qemu-devel] [PATCH 3/3] usb-mtp: add support for basic mtp events

2015-11-05 Thread Gerd Hoffmann
On Di, 2015-11-03 at 19:00 -0500, Bandan Das wrote: > -.wMaxPacketSize= 8, > +.wMaxPacketSize= 64, This is a guest-visible change, so strictly speaking this needs be tied to the machine type. I think we can be a bit sloppy here though as usb-mtp does not su

[Qemu-devel] [PATCH 3/3] usb-mtp: add support for basic mtp events

2015-11-03 Thread Bandan Das
When the host polls for events, we check our events qlist and send one event at a time. Also, note that the event packet needs to be sent in one go, so I increased the max packet size to 64. Tested with a linux guest. Signed-off-by: Bandan Das --- hw/usb/dev-mtp.c | 44 +