qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 1/2] block/block-backend.c: add blk_check_byte_r


From: Manos Pitsidianakis
Subject: Re: [Qemu-devel] [PATCH 1/2] block/block-backend.c: add blk_check_byte_request call to blk_pread/blk_pwrite
Date: Wed, 20 Sep 2017 17:35:12 +0300
User-agent: NeoMutt/20170609-57-1e93be (1.8.3)

On Wed, Sep 20, 2017 at 02:24:21PM +0200, Kevin Wolf wrote:
Am 20.09.2017 um 13:43 hat Manos Pitsidianakis geschrieben:
blk_check_byte_request() is called from the blk_co_pwritev/blk_co_preadv to
check if the request offset and request bytes parameters are valid for the
given Blockbackend. Let's do that in blk_pread/blk_pwrite too.

Signed-off-by: Manos Pitsidianakis <address@hidden>

I don't think this is necessary, blk_pread/pwrite() are only wrappers
around blk_co_preadv/pwritev(), so we're already checking the
parameters.

Kevin


Alright, this can be dropped then. Thanks!

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]