[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH RFC 2/4] Curling: cmdline interface
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH RFC 2/4] Curling: cmdline interface |
Date: |
Tue, 10 Sep 2013 16:38:21 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8 |
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
[Qemu-devel] [PATCH RFC 1/4] Curling: add doc, Jules Wang, 2013/09/10