qemu: forbid migration with an IOMMU device

https://bugzilla.redhat.com/show_bug.cgi?id=1433994
This commit is contained in:
Ján Tomko 2017-03-23 11:14:42 +01:00
parent 26026810ea
commit b7118623ad
1 changed files with 6 additions and 0 deletions

View File

@ -2359,6 +2359,12 @@ 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;