]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Revert "qemu: forbid migration with an IOMMU device"
authorJán Tomko <jtomko@redhat.com>
Fri, 24 Mar 2017 11:52:07 +0000 (12:52 +0100)
committerJán Tomko <jtomko@redhat.com>
Fri, 24 Mar 2017 11:52:07 +0000 (12:52 +0100)
This reverts commit b7118623ad5a8e6ea75d693881c08873eefa3e28.

Migration was implemented by QEMU commit:
commit 8cdcf3c1e58d04b6811956d7608efeb66c42d719
Author: Peter Xu <peterx@redhat.com>
Date:   Fri Jan 6 12:06:13 2017 +0800

    intel_iommu: allow migration

https://bugzilla.redhat.com/show_bug.cgi?id=1433994

src/qemu/qemu_migration.c

index 15ed83002466c3235095b0cc61b99ded03838d5c..f5711bcf744a9e98c3b3945969f30ad44363c2fd 100644 (file)
@@ -2359,12 +2359,6 @@ qemuMigrationIsAllowed(virQEMUDriverPtr driver,
                            _("migration with shmem device is not supported"));
             return false;
         }
-
-        if (vm->def->iommu) {
-            virReportError(VIR_ERR_OPERATION_INVALID, "%s",
-                           _("migration with iommu device is not supported"));
-            return false;
-        }
     }
 
     return true;