diff options
author | 2019-05-09 19:52:36 +0200 | |
---|---|---|
committer | 2019-05-10 16:45:40 +0200 | |
commit | 1c6e87799252d166426f642c00be8927b68ab164 (patch) | |
tree | 5c661f17867fdba8be5c26d285e974297b7dfca0 /hw/usb/dev-hub.c | |
parent | qemu-img: Allow rebase with no input base (diff) | |
download | qemu-1c6e87799252d166426f642c00be8927b68ab164.tar.xz qemu-1c6e87799252d166426f642c00be8927b68ab164.zip |
qemu-img: Use zero writes after source backing EOF
Past the end of the source backing file, we memset() buf_old to zero, so
it is clearly easy to use blk_pwrite_zeroes() instead of blk_pwrite()
then.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/usb/dev-hub.c')
0 files changed, 0 insertions, 0 deletions