From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juan Quintela Subject: Re: [PATCH v2 36/41] postcopy: implement incoming part of postcopy live migration Date: Thu, 14 Jun 2012 23:58:20 +0200 Message-ID: <87mx45sghv.fsf@elfo.mitica> References: Reply-To: quintela@redhat.com Mime-Version: 1.0 Content-Type: text/plain Cc: benoit.hudzia@gmail.com, aarcange@redhat.com, aliguori@us.ibm.com, kvm@vger.kernel.org, satoshi.itoh@aist.go.jp, stefanha@gmail.com, t.hirofuchi@aist.go.jp, dlaor@redhat.com, qemu-devel@nongnu.org, mdroth@linux.vnet.ibm.com, yoshikawa.takuya@oss.ntt.co.jp, owasserm@redhat.com, avi@redhat.com, pbonzini@redhat.com To: Isaku Yamahata Return-path: In-Reply-To: (Isaku Yamahata's message of "Mon, 4 Jun 2012 18:57:38 +0900") 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 List-Id: kvm.vger.kernel.org Isaku Yamahata wrote: > This patch implements postcopy live migration for incoming part > > Signed-off-by: Isaku Yamahata > +void ram_save_set_params(const MigrationParams *params, void *opaque); > - register_savevm_live(NULL, "ram", 0, RAM_SAVE_VERSION_ID, NULL, > - ram_save_live, NULL, ram_load, NULL); > + register_savevm_live(NULL, "ram", 0, RAM_SAVE_VERSION_ID, > + ram_save_set_params, ram_save_live, NULL, > + incoming_postcopy ? > + postcopy_incoming_ram_load : ram_load, NULL); ram_save_set_params() used on this patch but defined on next one. Later, Juan. From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:39550) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfI3p-0000Tx-Oe for qemu-devel@nongnu.org; Thu, 14 Jun 2012 17:58:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SfI3o-0003Uk-3O for qemu-devel@nongnu.org; Thu, 14 Jun 2012 17:58:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:5491) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfI3n-0003UT-Qm for qemu-devel@nongnu.org; Thu, 14 Jun 2012 17:58:36 -0400 From: Juan Quintela In-Reply-To: (Isaku Yamahata's message of "Mon, 4 Jun 2012 18:57:38 +0900") References: Date: Thu, 14 Jun 2012 23:58:20 +0200 Message-ID: <87mx45sghv.fsf@elfo.mitica> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v2 36/41] postcopy: implement incoming part of postcopy live migration Reply-To: quintela@redhat.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Isaku Yamahata Cc: benoit.hudzia@gmail.com, aarcange@redhat.com, aliguori@us.ibm.com, kvm@vger.kernel.org, satoshi.itoh@aist.go.jp, stefanha@gmail.com, t.hirofuchi@aist.go.jp, dlaor@redhat.com, qemu-devel@nongnu.org, mdroth@linux.vnet.ibm.com, yoshikawa.takuya@oss.ntt.co.jp, owasserm@redhat.com, avi@redhat.com, pbonzini@redhat.com Isaku Yamahata wrote: > This patch implements postcopy live migration for incoming part > > Signed-off-by: Isaku Yamahata > +void ram_save_set_params(const MigrationParams *params, void *opaque); > - register_savevm_live(NULL, "ram", 0, RAM_SAVE_VERSION_ID, NULL, > - ram_save_live, NULL, ram_load, NULL); > + register_savevm_live(NULL, "ram", 0, RAM_SAVE_VERSION_ID, > + ram_save_set_params, ram_save_live, NULL, > + incoming_postcopy ? > + postcopy_incoming_ram_load : ram_load, NULL); ram_save_set_params() used on this patch but defined on next one. Later, Juan.