diff options
| author | Eric Blake <eblake@redhat.com> | 2018-02-13 14:26:52 -0600 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2018-03-02 18:39:07 +0100 |
| commit | a320fb04b66a2189b6cbd7924aa7bfaaded79afe (patch) | |
| tree | af049079ddeebaa8d491f1344c6f56e6269d7b05 /scripts/qapi-introspect.py | |
| parent | d63b4c93e30915def5afabdb48134f5238ee793d (diff) | |
| download | focaccia-qemu-a320fb04b66a2189b6cbd7924aa7bfaaded79afe.tar.gz focaccia-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/qapi-introspect.py')
0 files changed, 0 insertions, 0 deletions