Received: from eggs.gnu.org ([2001:4830:134:3::10]:51638) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJaXw-0003Aa-C9 for qemu-devel@nongnu.org; Tue, 10 Sep 2013 22:52:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VJaXp-00043l-05 for qemu-devel@nongnu.org; Tue, 10 Sep 2013 22:52:48 -0400 Received: from m13-38.163.com ([220.181.13.38]:33908) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJaXL-0003SQ-1p for qemu-devel@nongnu.org; Tue, 10 Sep 2013 22:52:40 -0400 Date: Wed, 11 Sep 2013 10:51:51 +0800 (CST) From: junqing.wang@cs2c.com.cn Sender: lancelotds@163.com In-Reply-To: <87eh8weq48.fsf@elfo.elfo> References: <1378784607-7398-1-git-send-email-junqing.wang@cs2c.com.cn> <1378784607-7398-3-git-send-email-junqing.wang@cs2c.com.cn> <87eh8weq48.fsf@elfo.elfo> Content-Type: multipart/alternative; boundary="----=_Part_64012_327780699.1378867911801" MIME-Version: 1.0 Message-ID: <123cd0c7.451f.1410aee9c79.Coremail.junqing.wang@cs2c.com.cn> Subject: Re: [Qemu-devel] [PATCH RFC 2/4] Curling: cmdline interface List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: quintela@redhat.com, pbonzini@redhat.com Cc: qemu-devel@nongnu.org ------=_Part_64012_327780699.1378867911801 Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: 7bit > 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? ------=_Part_64012_327780699.1378867911801 Content-Type: text/html; charset=GBK Content-Transfer-Encoding: 7bit

> 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 you decided yet?






------=_Part_64012_327780699.1378867911801--