summary refs log tree commit diff stats
path: root/scripts/qapi-introspect.py
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2018-02-13 14:26:58 -0600
committerKevin Wolf <kwolf@redhat.com>2018-03-02 18:39:07 +0100
commitc72080b9b8eab200551c26467511ebf599754f9e (patch)
tree3c79b46f8965ca2d9ffcc6285e8474b6a67ff21a /scripts/qapi-introspect.py
parent67635f6abebac7f49d0067b3e60626c857cefa06 (diff)
downloadfocaccia-qemu-c72080b9b8eab200551c26467511ebf599754f9e.tar.gz
focaccia-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/qapi-introspect.py')
0 files changed, 0 insertions, 0 deletions