|
From: | Max Reitz |
Subject: | Re: [Qemu-devel] [PATCH 5/5] nbd: Use BlockBackend internally |
Date: | Tue, 18 Nov 2014 10:32:33 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
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 <address@hidden>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 <address@hidden>
Thanks! Max
[Prev in Thread] | Current Thread | [Next in Thread] |