On Tue, Oct 06, 2015 at 05:14:06PM +0200, Peter Krempa wrote:
qemuMigrationIsAllowed would disallow offline migration if the VM
contained host devices or memory modules. Since during offline migration
we don't transfer any state we can safely migrate VMs with such
configuration.
Resolves:
https://bugzilla.redhat.com/show_bug.cgi?id=1265049
---
src/qemu/qemu_migration.c | 87 +++++++++++++++++++++++++----------------------
1 file changed, 46 insertions(+), 41 deletions(-)
@@ -2229,6 +2223,7 @@ qemuMigrationIsAllowed(virQEMUDriverPtr
driver,
/* cancel migration if disk I/O error is emitted while migrating */
if (flags & VIR_MIGRATE_ABORT_ON_ERROR &&
+ !(flags & VIR_MIGRATE_OFFLINE) &&
Extra space
^
virDomainObjGetState(vm, &pauseReason) ==
VIR_DOMAIN_PAUSED &&
pauseReason == VIR_DOMAIN_PAUSED_IOERROR) {
virReportError(VIR_ERR_OPERATION_INVALID, "%s",
Jan