Re: [Qemu-devel] [PATCH v6 05/11] hw/usb: switch MTP to use new inotify APIs

2018-11-13 Thread Daniel P . Berrangé
On Wed, Nov 07, 2018 at 10:26:29PM +0400, Marc-André Lureau wrote: > On Fri, Oct 19, 2018 at 5:42 PM Daniel P. Berrangé > wrote: > > > > The internal inotify APIs allow alot of conditional statements to be > > a lot > > > cleared out, and provide a simpler callback for handling events. > > > >

Re: [Qemu-devel] [PATCH v6 05/11] hw/usb: switch MTP to use new inotify APIs

2018-11-07 Thread Marc-André Lureau
On Fri, Oct 19, 2018 at 5:42 PM Daniel P. Berrangé wrote: > > The internal inotify APIs allow alot of conditional statements to be a lot > cleared out, and provide a simpler callback for handling events. > > Signed-off-by: Daniel P. Berrangé > --- > hw/usb/dev-mtp.c| 250 --

[Qemu-devel] [PATCH v6 05/11] hw/usb: switch MTP to use new inotify APIs

2018-10-19 Thread Daniel P . Berrangé
The internal inotify APIs allow alot of conditional statements to be cleared out, and provide a simpler callback for handling events. Signed-off-by: Daniel P. Berrangé --- hw/usb/dev-mtp.c| 250 hw/usb/trace-events | 2 +- 2 files changed, 93 in