On 24/06/2016 07:12, Fam Zheng wrote: > Apart from the interface difference, the aio version works the same as > the non-aio one. The event notifier versus aio fd handler makes no > diffeerence, except the former led to an ugly patch in commit > ab27c3b5e7, which won't be necessary any more. > > As the first step to unify them, all callers are switched to this > renamed aio iterface, and function comment is added.
I think this is too aggressive, and I'm not sure it's correct. bdrv_drain wants to look at block devices only, while this would also process NICs too for example. I don't know the effect. Can we do this only for virtio-blk and virtio-scsi? Paolo
