From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36570) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dKLVC-0006g3-M7 for qemu-devel@nongnu.org; Mon, 12 Jun 2017 05:19:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dKLV9-0007Mf-I0 for qemu-devel@nongnu.org; Mon, 12 Jun 2017 05:19:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47094) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dKLV9-0007MM-C1 for qemu-devel@nongnu.org; Mon, 12 Jun 2017 05:19:11 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2EAB77F6AC for ; Mon, 12 Jun 2017 09:19:10 +0000 (UTC) Date: Mon, 12 Jun 2017 17:19:00 +0800 From: Peter Xu Message-ID: <20170612091900.GE12928@pxdev.xzpeter.org> References: <20170601212921.30241-1-quintela@redhat.com> <20170601212921.30241-2-quintela@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20170601212921.30241-2-quintela@redhat.com> Subject: Re: [Qemu-devel] [PATCH 01/11] migration: Remove MigrationState from migration_channel_incomming() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Juan Quintela Cc: qemu-devel@nongnu.org, dgilbert@redhat.com, lvivier@redhat.com On Thu, Jun 01, 2017 at 11:29:11PM +0200, Juan Quintela wrote: > All callers were calling migrate_get_current(), so do it inside the function. > > Signed-off-by: Juan Quintela Reviewed-by: Peter Xu -- Peter Xu