summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFam Zheng2018-07-10 08:31:21 +0200
committerKevin Wolf2018-07-10 16:46:16 +0200
commit00695c27a00a4b3333604aeac50c43269cc151a3 (patch)
treec8bec130f594734d8a8cd791874c873d7560fec0 /include
parentblock: Fix handling of image enlarging write (diff)
downloadqemu-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