]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Revert "docs: Add warning about using a cleared image with VIR_MIGRATE_PARAM_MIGRATE_...
authorPeter Krempa <pkrempa@redhat.com>
Thu, 5 Jun 2025 12:42:46 +0000 (14:42 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 12 Jun 2025 08:16:06 +0000 (10:16 +0200)
QEMU clears the images even when sparse mode is required so asking the
users to do so is not needed. Remove the docs.

This reverts commit 332ee4931a84ec23e7f6fcb963083318c1307dc7

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Acked-by: Eric Blake <eblake@redhat.com>
docs/manpages/virsh.rst
include/libvirt/libvirt-domain.h

index 895a905b0894c509c64eb8b89949484d7e1ba355..9b571761b862f039309f0a06eeb52a6c047682b1 100644 (file)
@@ -3642,9 +3642,7 @@ transfer via the comma separated ``disk-list`` argument.
 The *--migrate-disks-detect-zeroes* option which takes a comma separated list of
 disk target names enables zeroed block detection for the listed migrated disks.
 These blocks are not transferred or allocated on destination, effectively
-sparsifying the disk at the cost of CPU overhead. Users must ensure that any
-pre-created storage source is cleared and thus reads all-zeroes before using
-this option as otherwise the destination image may become corrupted.
+sparsifying the disk at the cost of CPU overhead.
 With *--copy-storage-synchronous-writes* flag used the disk data migration will
 synchronously handle guest disk writes to both the original source and the
 destination to ensure that the disk migration converges at the price of possibly
index ac5daf7d0c6fd9b6aa47a5a6562ac4530b16c5b6..1af504557192cd4cfc347093ebb5dd118923f019 100644 (file)
@@ -1276,10 +1276,7 @@ typedef enum {
  *
  * virDomainMigrate* params multiple field: The multiple values that list
  * the block devices for which zero detection (to avoid transferring zero blocks)
- * is to be enabled. Users must ensure that any pre-created storage source on
- * the destination will be cleared and thus read all-zeroes before using this
- * feature, otherwise the destination image may become corrupted.
- * This may increase CPU overhead of the migration. At the
+ * is to be enabled. This may increase CPU overhead of the migration. At the
  * moment this is only supported by the QEMU driver but not for the tunnelled
  * migration.
  *