diff options
| author | Eric Blake | 2018-02-13 21:26:52 +0100 |
|---|---|---|
| committer | Kevin Wolf | 2018-03-02 18:39:07 +0100 |
| commit | a320fb04b66a2189b6cbd7924aa7bfaaded79afe (patch) | |
| tree | af049079ddeebaa8d491f1344c6f56e6269d7b05 /scripts | |
| parent | qcow: Switch to .bdrv_co_block_status() (diff) | |
| download | qemu-a320fb04b66a2189b6cbd7924aa7bfaaded79afe.tar.gz qemu-a320fb04b66a2189b6cbd7924aa7bfaaded79afe.tar.xz qemu-a320fb04b66a2189b6cbd7924aa7bfaaded79afe.zip | |
qcow2: Switch to .bdrv_co_block_status()
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 clusters with the same
data/zero status but which differ only in having non-consecutive
mappings.
Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
