summary refs log tree commit diff stats
path: root/hw/net/virtio-net.c
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2025-05-13 17:00:45 -0500
committerEric Blake <eblake@redhat.com>2025-05-14 21:27:04 -0500
commitaff46b4bf556430dd3c12fa39a457f0487bb0053 (patch)
treedd2589298f4b38824775e835325060737683a33c /hw/net/virtio-net.c
parentc0ddcb2cbc146e64f666eaae4edc7b5db7e5814d (diff)
downloadfocaccia-qemu-aff46b4bf556430dd3c12fa39a457f0487bb0053.tar.gz
focaccia-qemu-aff46b4bf556430dd3c12fa39a457f0487bb0053.zip
mirror: Reduce I/O when destination is detect-zeroes:unmap
If we are going to punch holes in the mirror destination even for the
portions where the source image is unallocated, it is nicer to treat
the entire image as dirty and punch as we go, rather than pre-zeroing
the entire image just to re-do I/O to the allocated portions of the
image.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-ID: <20250513220142.535200-2-eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions