Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
---
include/libvirt/libvirt-domain.h | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/include/libvirt/libvirt-domain.h b/include/libvirt/libvirt-domain.h
index a1902546bb..37c55c5ae8 100644
--- a/include/libvirt/libvirt-domain.h
+++ b/include/libvirt/libvirt-domain.h
@@ -1100,6 +1100,20 @@ typedef enum {
* Since: 8.5.0
*/
VIR_MIGRATE_ZEROCOPY = (1 << 20),
+
+ /* Assume that the storage used for VM disks is shared even when
+ * it appears to be local storage.
+ *
+ * This can be the case, for example, when a directory is mounted
+ * using NFS on the destination host but is bind-mounted on the
+ * source host, because the latter happens to be the host that
+ * storage is physically attached to.
+ *
+ * Effectively a subset of VIR_MIGRATE_UNSAFE.
+ *
+ * Since: 9.10.0
+ */
+ VIR_MIGRATE_ASSUME_SHARED_STORAGE = (1 << 21),
} virDomainMigrateFlags;
--
2.41.0