On 04/28/2016 07:16 AM, Kevin Wolf wrote: > Many parts of the block layer are already byte granularity. The block > driver interface, however, was still missing an interface that allows > making use of this. This patch introduces a new BlockDriver interface, > which is based on coroutines, vectored, has flags and uses a byte > granularity. This is now the preferred interface for new drivers. > > Signed-off-by: Kevin Wolf > --- > block/io.c | 28 ++++++++++++++++++++++------ > include/block/block_int.h | 4 ++++ > 2 files changed, 26 insertions(+), 6 deletions(-) > Reviewed-by: Eric Blake -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org