mirror of https://gitee.com/openkylin/libvirt.git
qemu: Disable migration with ivshmem
It was never safe anyway and as such shouldn't have been enabled in the first place. Future patches will allow hot-(un)pluging of some ivshmem devices as a workaround. Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
d7107959c3
commit
d17fab69be
|
@ -2352,6 +2352,12 @@ qemuMigrationIsAllowed(virQEMUDriverPtr driver,
|
|||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if (vm->def->nshmems) {
|
||||
virReportError(VIR_ERR_OPERATION_INVALID, "%s",
|
||||
_("migration with shmem device is not supported"));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue