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.