From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NCas8-0006FM-JA for qemu-devel@nongnu.org; Mon, 23 Nov 2009 10:30:36 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NCas3-0006DN-Pc for qemu-devel@nongnu.org; Mon, 23 Nov 2009 10:30:35 -0500 Received: from [199.232.76.173] (port=50279 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NCas3-0006DC-HB for qemu-devel@nongnu.org; Mon, 23 Nov 2009 10:30:31 -0500 Received: from mx1.redhat.com ([209.132.183.28]:18073) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NCas2-0004Jc-QL for qemu-devel@nongnu.org; Mon, 23 Nov 2009 10:30:31 -0500 Message-ID: <4B0AAA8C.2070405@redhat.com> Date: Mon, 23 Nov 2009 16:30:20 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <4B09F0CA.3060705@codemonkey.ws> <20091123082659.GC2999@redhat.com> <20091123123640.GL2999@redhat.com> <20091123143242.GO2999@redhat.com> <4B0AA165.60900@codemonkey.ws> <20091123145356.GQ2999@redhat.com> <4B0AA4D6.9060607@codemonkey.ws> <20091123152252.GR2999@redhat.com> In-Reply-To: <20091123152252.GR2999@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: Live migration protocol, device features, ABIs and other beasts List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gleb Natapov Cc: Juan Quintela , qemu-devel@nongnu.org On 11/23/2009 04:22 PM, Gleb Natapov wrote: > As far as I remember the two general's problem talks about unreliable > channel, not unreliable nodes. Why not having destination send ACK/NACK > to the source when it knows that migration succeeded/failed. If source > gets NACK it continues, if it gets ACK it exits, otherwise it stays in > paused state. Yes, there are worst case scenarios where this will not work, > but it will not be worse then what we have now. Also, this can be done in a per-protocol manner. TCP and Unix socket migration would support it, while exec (and maybe fd) migration would not. Paolo