From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38572) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFHAS-0002ls-87 for qemu-devel@nongnu.org; Wed, 15 Jul 2015 03:31:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFHAP-0006yw-3n for qemu-devel@nongnu.org; Wed, 15 Jul 2015 03:31:48 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34873) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFHAO-0006yd-UL for qemu-devel@nongnu.org; Wed, 15 Jul 2015 03:31:45 -0400 Date: Wed, 15 Jul 2015 13:01:28 +0530 From: Amit Shah Message-ID: <20150715073128.GN10280@grmbl.mre> References: <1434450415-11339-1-git-send-email-dgilbert@redhat.com> <1434450415-11339-15-git-send-email-dgilbert@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1434450415-11339-15-git-send-email-dgilbert@redhat.com> Subject: Re: [Qemu-devel] [PATCH v7 14/42] Return path: Send responses from destination to source List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Dr. David Alan Gilbert (git)" Cc: aarcange@redhat.com, yamahata@private.email.ne.jp, quintela@redhat.com, liang.z.li@intel.com, qemu-devel@nongnu.org, luis@cs.umu.se, pbonzini@redhat.com, david@gibson.dropbear.id.au On (Tue) 16 Jun 2015 [11:26:27], Dr. David Alan Gilbert (git) wrote: > From: "Dr. David Alan Gilbert" > > Add migrate_send_rp_message to send a message from destination to source along the return path. > (It uses a mutex to let it be called from multiple threads) > Add migrate_send_rp_shut to send a 'shut' message to indicate > the destination is finished with the RP. > Add migrate_send_rp_ack to send a 'PONG' message in response to a PING > Use it in the MSG_RP_PING handler > > Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Amit Shah Amit