mirror of https://gitee.com/openkylin/libvirt.git
qemu: forbid migration with an IOMMU device
https://bugzilla.redhat.com/show_bug.cgi?id=1433994
This commit is contained in:
parent
26026810ea
commit
b7118623ad
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue