summaryrefslogtreecommitdiffstats
path: root/scripts/switch-timer-api
diff options
context:
space:
mode:
authorEric Blake2018-02-13 21:26:48 +0100
committerKevin Wolf2018-03-02 18:39:07 +0100
commit92809c36009de25d4f41e88f572bca3cb26b7387 (patch)
tree2bfbaf9bd12e02cc42281448da48b3d7b718ddd8 /scripts/switch-timer-api
parentiscsi: Switch iscsi_allocmap_update() to byte-based (diff)
downloadqemu-92809c36009de25d4f41e88f572bca3cb26b7387.tar.gz
qemu-92809c36009de25d4f41e88f572bca3cb26b7387.tar.xz
qemu-92809c36009de25d4f41e88f572bca3cb26b7387.zip
iscsi: Switch to .bdrv_co_block_status()
We are gradually moving away from sector-based interfaces, towards byte-based. Update the iscsi driver accordingly. In this case, it is handy to teach iscsi_co_block_status() to handle a NULL map and file parameter, even though the block layer passes non-NULL values, because we also call the function directly. For now, there are no optimizations done based on the want_zero flag. We can also make the simplification of asserting that the block layer passed in aligned values. Signed-off-by: Eric Blake <eblake@redhat.com> Reviewed-by: Fam Zheng <famz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions