> Shouldn't this be in migration_state? Just wondering. And yes, I > don't see either a trivial place how to get it. get_current_migration()?
That's a better idea, I will put 'ft_enabled' in MigrationState Struct. > I think for the outgoing side it should just be "migrate -f tcp:foo:9999". > On the incoming side, perhaps you could have a different ID instead of > QEMU_VM_FILE_MAGIC, that triggers fault-tolerance mode automatically? I am OK with this solution, '-f' indicates fault-tolerance, right? Have youdecided yet?