diff options
| author | Eric Blake | 2018-02-13 21:26:53 +0100 |
|---|---|---|
| committer | Kevin Wolf | 2018-03-02 18:39:07 +0100 |
| commit | b8d739fd6fb295a7562c506c65f2137199a509f9 (patch) | |
| tree | afdc02e03d4d7006c215bb75efe3207d4e9243ed /scripts/switch-timer-api | |
| parent | qcow2: Switch to .bdrv_co_block_status() (diff) | |
| download | qemu-b8d739fd6fb295a7562c506c65f2137199a509f9.tar.gz qemu-b8d739fd6fb295a7562c506c65f2137199a509f9.tar.xz qemu-b8d739fd6fb295a7562c506c65f2137199a509f9.zip | |
qed: Switch to .bdrv_co_block_status()
We are gradually moving away from sector-based interfaces, towards
byte-based. Update the qed driver accordingly, taking the opportunity
to inline qed_is_allocated_cb() into its lone caller (the callback
used to be important, until we switched qed to coroutines). There is
no intent to optimize based on the want_zero flag for this format.
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/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
