Re: [Qemu-devel] [PULL 08/37] iscsi: Switch to .bdrv_co_block_status()

2018-05-08 Thread Eric Blake
On 05/08/2018 10:37 AM, Peter Maydell wrote: On 2 March 2018 at 18:54, Kevin Wolf wrote: From: Eric Blake We are gradually moving away from sector-based interfaces, towards byte-based. Update the iscsi driver accordingly. In this case, it is handy to

Re: [Qemu-devel] [PULL 08/37] iscsi: Switch to .bdrv_co_block_status()

2018-05-08 Thread Peter Maydell
On 2 March 2018 at 18:54, Kevin Wolf wrote: > From: Eric Blake > > We are gradually moving away from sector-based interfaces, towards > byte-based. Update the iscsi driver accordingly. In this case, > it is handy to teach iscsi_co_block_status() to handle a

[Qemu-devel] [PULL 08/37] iscsi: Switch to .bdrv_co_block_status()

2018-03-02 Thread Kevin Wolf
From: Eric Blake We are gradually moving away from sector-based interfaces, towards byte-based. Update the iscsi driver accordingly. In this case, it is handy to teach iscsi_co_block_status() to handle a NULL map and file parameter, even though the block layer passes