Il 10/09/2013 18:37, Juan Quintela ha scritto:
>> 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?
>> Then again it would be simply "-incoming tcp:foo:9999".
> 
> Then how can you distingish between faultolerance and simple migration?
> You need to diferentiate on both sides.
> 
> - outgoing side: you need to continue running after sending the whole
>   state
> - incoming side: after receivinga lot,  you apply it,  and have to wait
>   for the next one.
> 
> It is a different thing to do,  we need to tell qemu somehow.

You look at the first 4 bytes in the stream and distinguish the two cases.

Paolo


Reply via email to