Re: [Qemu-devel] [PATCH 1/2] nbd: Convert to byte-based interface

2016-06-27 Thread Paolo Bonzini
On 24/06/2016 05:58, Eric Blake wrote: > The NBD protocol doesn't have any notion of sectors, so it is > a fairly easy convertion to use byte-based read and write. > > Signed-off-by: Eric Blake > --- > block/nbd-client.h | 8 > include/block/nbd.h | 1 - > block/nbd-client.c | 30

[Qemu-devel] [PATCH 1/2] nbd: Convert to byte-based interface

2016-06-23 Thread Eric Blake
The NBD protocol doesn't have any notion of sectors, so it is a fairly easy convertion to use byte-based read and write. Signed-off-by: Eric Blake --- block/nbd-client.h | 8 include/block/nbd.h | 1 - block/nbd-client.c | 30 +- block/nbd.c | 12