Paolo Bonzini <pbonz...@redhat.com> wrote:
> Il 10/09/2013 15:57, Juan Quintela ha scritto:
>>> >  
>>> > +    if (strstart(uri, "curling:", &p)) {
>>> > +        ft_mode = true;
>>> > +        uri = p;
>>> > +    }
>>> > +
>> Syntax is at least weird:
>> 
>> curling:tcp:foo:9999
>> 
>> curling+tcp:foo:9999 
>> 
>> could be better?  Suggestions folks?
>> 
>> notice that we still need more things: tcp+tls should happen at some
>> time soon.  This is not related with this patch.
>> 
>
> 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.

> Paolo

Reply via email to