parallels: Switch to .bdrv_co_block_status()
commit8e0cf59d02d2e7b91e785214fbe9a15d8a6ce20b
authorEric Blake <eblake@redhat.com>
Tue, 13 Feb 2018 20:26:50 +0000 (13 14:26 -0600)
committerKevin Wolf <kwolf@redhat.com>
Fri, 2 Mar 2018 17:39:07 +0000 (2 18:39 +0100)
tree4173eb35c1956080f096e5e34f5ace31ac1559be
parent05c33f1021f95bc18af153ea5669be57bba527e5
parallels: Switch to .bdrv_co_block_status()

We are gradually moving away from sector-based interfaces, towards
byte-based.  Update the parallels driver accordingly.  Note that
the internal function block_status() is still sector-based, because
it is still in use by other sector-based functions; but that's okay
because request_alignment is 512 as a result of those functions.
For now, no optimizations are added based on the mapping hint.

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>
block/parallels.c