Re: [Qemu-block] [PATCH v6 11/20] qcow2: Switch to .bdrv_co_block_status()

2017-12-28 Thread Fam Zheng
On Thu, 12/07 14:30, Eric Blake wrote: > We are gradually moving away from sector-based interfaces, towards > byte-based. Update the qcow2 driver accordingly. > > For now, we are ignoring the 'want_zero' hint. However, it should > be relatively straightforward to honor the hint as a way to

[Qemu-block] [PATCH v6 11/20] qcow2: Switch to .bdrv_co_block_status()

2017-12-07 Thread Eric Blake
We are gradually moving away from sector-based interfaces, towards byte-based. Update the qcow2 driver accordingly. For now, we are ignoring the 'want_zero' hint. However, it should be relatively straightforward to honor the hint as a way to return larger *pnum values when we have consecutive