diff options
author | Fam Zheng <famz@redhat.com> | 2018-07-10 14:31:21 +0800 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2018-07-10 16:46:16 +0200 |
commit | 00695c27a00a4b3333604aeac50c43269cc151a3 (patch) | |
tree | c8bec130f594734d8a8cd791874c873d7560fec0 /trace/simple.c | |
parent | 7f8f03ef6d5c82fee1c22be06fc9de4a16ad7059 (diff) | |
download | qemu-00695c27a00a4b3333604aeac50c43269cc151a3.zip qemu-00695c27a00a4b3333604aeac50c43269cc151a3.tar.gz qemu-00695c27a00a4b3333604aeac50c43269cc151a3.tar.bz2 |
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 'trace/simple.c')
0 files changed, 0 insertions, 0 deletions