From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:48707) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8Z17-0001kg-Fl for qemu-devel@nongnu.org; Fri, 16 Mar 2012 11:24:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S8Z0i-0003uI-Rv for qemu-devel@nongnu.org; Fri, 16 Mar 2012 11:24:33 -0400 Received: from mx1.redhat.com ([209.132.183.28]:31625) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8Z0i-0003u4-Jq for qemu-devel@nongnu.org; Fri, 16 Mar 2012 11:24:08 -0400 Message-ID: <4F635B0E.7020300@redhat.com> Date: Fri, 16 Mar 2012 23:23:58 +0800 From: Jason Wang MIME-Version: 1.0 References: <20120316085237.4947.53556.stgit@amd-6168-8-1.englab.nay.redhat.com> <20120316085453.4947.23068.stgit@amd-6168-8-1.englab.nay.redhat.com> <4F630B44.5000102@redhat.com> <4F63125A.1020005@redhat.com> <4F6319DE.1070407@redhat.com> In-Reply-To: <4F6319DE.1070407@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [V5 PATCH 1/4] net: announce self after vm start List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: aliguori@us.ibm.com, stefanha@linux.vnet.ibm.com, mst@redhat.com, rusty@rustcorp.com.au, qemu-devel@nongnu.org, quintela@redhat.com On 03/16/2012 06:45 PM, Paolo Bonzini wrote: > Il 16/03/2012 11:13, Jason Wang ha scritto: >> > The problem with staying in the INMIGRATE is that we can not figure out >> > when the migration is completed when using '-S', so this kind of >> > transition were forbidden by qmp_cont(). >> > >> > Looks like we need a new state such as RUN_STATE_MIGRATE_PRELAUNCH? > Or just a global need_announce instead of looking at the runstate. > > Paolo > Then I think it's better for us introduce a parameter for vm_start() like what we've done in V4.