On 2014-11-17 at 18:29, Paolo Bonzini wrote:

On 17/11/2014 16:30, Max Reitz wrote:
With all externally visible functions changed to use BlockBackend, this
patch makes nbd use BlockBackend for everything internally as well.

While touching them, substitute 512 by BDRV_SECTOR_SIZE in the calls to
blk_read(), blk_write() and blk_co_discard().

Signed-off-by: Max Reitz <mre...@redhat.com>
qemu-nbd.c has more uses of "bs" that probably should be changed to
"blk".  Not sure if it should be in this patch, patch 4 or an additional
patch 6 though.

Good point. I'll go for patch 6.

If the third possibility, series

Reviewed-by: Paolo Bonzini <pbonz...@redhat.com>

Thanks!

Max

Reply via email to