diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c index 1e7abc53f5..1c4a80c3a4 100644 --- a/src/qemu/qemu_migration.c +++ b/src/qemu/qemu_migration.c @@ -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;