Check vmsd for unmigratable field, allowing migratibility status to be modified after vmstate_register. Signed-off-by: Marcelo Tosatti <mtosatti@xxxxxxxxxx> diff --git a/savevm.c b/savevm.c index 22123be..61a25c0 100644 --- a/savevm.c +++ b/savevm.c @@ -452,7 +452,7 @@ bool qemu_savevm_state_blocked(Error **errp) SaveStateEntry *se; QTAILQ_FOREACH(se, &savevm_handlers, entry) { - if (se->no_migrate) { + if (se->no_migrate || (se->vmsd && se->vmsd->unmigratable)) { error_set(errp, QERR_MIGRATION_NOT_SUPPORTED, se->idstr); return true; } -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html