diff options
| author | Fam Zheng | 2018-07-10 08:31:21 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2018-07-10 16:46:16 +0200 |
| commit | 00695c27a00a4b3333604aeac50c43269cc151a3 (patch) | |
| tree | c8bec130f594734d8a8cd791874c873d7560fec0 /include | |
| parent | block: Fix handling of image enlarging write (diff) | |
| download | qemu-00695c27a00a4b3333604aeac50c43269cc151a3.tar.gz qemu-00695c27a00a4b3333604aeac50c43269cc151a3.tar.xz qemu-00695c27a00a4b3333604aeac50c43269cc151a3.zip | |
block: Use common req handling for discard
Reuse the new bdrv_co_write_req_prepare/finish helpers. The variation
here is that discard requests don't affect bs->wr_highest_offset, and it
cannot extend the image.
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
