diff options
| author | Eric Blake | 2018-02-13 21:26:58 +0100 |
|---|---|---|
| committer | Kevin Wolf | 2018-03-02 18:39:07 +0100 |
| commit | c72080b9b8eab200551c26467511ebf599754f9e (patch) | |
| tree | 3c79b46f8965ca2d9ffcc6285e8474b6a67ff21a /scripts | |
| parent | vdi: Switch to .bdrv_co_block_status() (diff) | |
| download | qemu-c72080b9b8eab200551c26467511ebf599754f9e.tar.gz qemu-c72080b9b8eab200551c26467511ebf599754f9e.tar.xz qemu-c72080b9b8eab200551c26467511ebf599754f9e.zip | |
vmdk: Switch to .bdrv_co_block_status()
We are gradually moving away from sector-based interfaces, towards
byte-based. Update the vmdk driver accordingly. Drop the
now-unused vmdk_find_index_in_cluster().
Also, fix a pre-existing bug: if find_extent() fails (unlikely,
since the block layer did a bounds check), then we must return a
failure, rather than 0.
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
