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:
Martin Kletzander 2016-09-20 11:24:49 +02:00
parent d7107959c3
commit d17fab69be
1 changed files with 6 additions and 0 deletions

View File

@ -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;