KVM: s390: disable migration mode when dirty tracking is disabled
[platform/kernel/linux-starfive.git] / Documentation / virt / kvm / devices / vm.rst
index 60acc39..147efec 100644 (file)
@@ -302,6 +302,10 @@ Allows userspace to start migration mode, needed for PGSTE migration.
 Setting this attribute when migration mode is already active will have
 no effects.
 
+Dirty tracking must be enabled on all memslots, else -EINVAL is returned. When
+dirty tracking is disabled on any memslot, migration mode is automatically
+stopped.
+
 :Parameters: none
 :Returns:   -ENOMEM if there is not enough free memory to start migration mode;
            -EINVAL if the state of the VM is invalid (e.g. no memory defined);