Re: [libvirt] [PATCH v4 01/17] util: add helper APIs for dealing with inotify in portable manner

2019-02-16 Thread Marc-André Lureau
Hi On Fri, Feb 15, 2019 at 6:13 PM Daniel P. Berrangé wrote: > > The inotify userspace API for reading events is quite horrible, so it is > useful to wrap it in a more friendly API to avoid duplicating code > across many users in QEMU. Wrapping it also allows introduction of a > platform

[libvirt] [PATCH v4 01/17] util: add helper APIs for dealing with inotify in portable manner

2019-02-15 Thread Daniel P . Berrangé
The inotify userspace API for reading events is quite horrible, so it is useful to wrap it in a more friendly API to avoid duplicating code across many users in QEMU. Wrapping it also allows introduction of a platform portability layer, so that we can add impls for non-Linux based equivalents in