Re: [Qemu-devel] [PATCH 4/7] scsi-disk: introduce dma_readv and dma_writev

2016-06-03 Thread xiaoqiang zhao
在 2016年06月03日 13:22, Mark Cave-Ayland 写道: On 03/06/16 03:56, xiaoqiang zhao wrote: 在 2016年06月02日 03:07, Mark Cave-Ayland 写道: On 23/05/16 13:54, Paolo Bonzini wrote: These are replacements for blk_aio_preadv and blk_aio_pwritev that allow customization of the data path. They reuse the

Re: [Qemu-devel] [PATCH 4/7] scsi-disk: introduce dma_readv and dma_writev

2016-06-02 Thread Mark Cave-Ayland
On 03/06/16 03:56, xiaoqiang zhao wrote: > 在 2016年06月02日 03:07, Mark Cave-Ayland 写道: >> On 23/05/16 13:54, Paolo Bonzini wrote: >> >>> >These are replacements for blk_aio_preadv and blk_aio_pwritev that >>> allow >>> >customization of the data path. They reuse the DMA helpers' DMAIOFunc >>>

Re: [Qemu-devel] [PATCH 4/7] scsi-disk: introduce dma_readv and dma_writev

2016-06-02 Thread xiaoqiang zhao
在 2016年06月02日 03:07, Mark Cave-Ayland 写道: On 23/05/16 13:54, Paolo Bonzini wrote: >These are replacements for blk_aio_preadv and blk_aio_pwritev that allow >customization of the data path. They reuse the DMA helpers' DMAIOFunc >callback type, so that the same function can be used in either

Re: [Qemu-devel] [PATCH 4/7] scsi-disk: introduce dma_readv and dma_writev

2016-06-01 Thread Mark Cave-Ayland
On 23/05/16 13:54, Paolo Bonzini wrote: > These are replacements for blk_aio_preadv and blk_aio_pwritev that allow > customization of the data path. They reuse the DMA helpers' DMAIOFunc > callback type, so that the same function can be used in either the > QEMUSGList or the bounce-buffered

Re: [Qemu-devel] [PATCH 4/7] scsi-disk: introduce dma_readv and dma_writev

2016-05-23 Thread Eric Blake
On 05/23/2016 06:54 AM, Paolo Bonzini wrote: > These are replacements for blk_aio_preadv and blk_aio_pwritev that allow > customization of the data path. They reuse the DMA helpers' DMAIOFunc > callback type, so that the same function can be used in either the > QEMUSGList or the bounce-buffered

[Qemu-devel] [PATCH 4/7] scsi-disk: introduce dma_readv and dma_writev

2016-05-23 Thread Paolo Bonzini
These are replacements for blk_aio_preadv and blk_aio_pwritev that allow customization of the data path. They reuse the DMA helpers' DMAIOFunc callback type, so that the same function can be used in either the QEMUSGList or the bounce-buffered case. This customization will be needed in the next