mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05:00
The migration parameter allows enumerating disks selected for migration where the hypervisor may assume that the user pre-cleared the destination images of the block copy so that all offsets read 0x00 and thus optimize clearing of such targets. This patch adds the 'VIR_MIGRATE_PARAM_MIGRATE_DISKS_TARGET_ZERO' parameter and also plumbs it for the qemu driver (mirrors plumbing for 'migrate_disks_detect_zeroes'). Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>