qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v7 06/19] scsi-disk: Switch to byte-based aio bl


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH v7 06/19] scsi-disk: Switch to byte-based aio block access
Date: Thu, 12 May 2016 13:26:27 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1


On 12/05/2016 13:25, Paolo Bonzini wrote:
>> >          r->req.aiocb = dma_blk_read(s->qdev.conf.blk, r->req.sg, 
>> > r->sector,
>> >                                      scsi_dma_complete, r);
> This is broken, it should be changed to an offset in the previous patch.
> 
> Please rename the function too, so that it is obvious that you have
> changed all callers.

Oh, dma_blk_read is still sector-based...

Paolo



reply via email to

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