From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luiz Capitulino Subject: Re: [PATCH V2 3/5] Introduce premigrate RunState. Date: Tue, 3 Jan 2012 17:05:55 -0200 Message-ID: <20120103170555.3a32ac1b@doriath> References: <1323467645-24271-1-git-send-email-anthony.perard@citrix.com> <1323467645-24271-4-git-send-email-anthony.perard@citrix.com> <4EEA0EB8.4020203@codemonkey.ws> <20111215143131.75239a3e@doriath> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org To: Anthony PERARD Cc: Xen Devel , QEMU-devel , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Mon, 19 Dec 2011 17:27:55 +0000 Anthony PERARD wrote: > On Thu, 15 Dec 2011, Luiz Capitulino wrote: > > > On Thu, 15 Dec 2011 09:14:00 -0600 > > Anthony Liguori wrote: > > > > > On 12/09/2011 03:54 PM, Anthony PERARD wrote: > > > > This new state will be used by Xen functions to know QEMU will wait for a > > > > migration. This is important to know for memory related function because the > > > > memory is already allocated and reallocated them will not works. > > > > How is premigrate different from inmigrate? It looks like the same thing to me. > > The inmigrate state is used during machine initilisation. So this state > replace the prelauch state (during machine.init) when a migration will be done. > > inmigrate is set only when the initilisation of the machine is over. Do you need both? What about setting inmigrate when initializing the machine and using it instead? PS: sorry for the delay, I was on vacation.