From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFvyV-0006fn-9V for qemu-devel@nongnu.org; Tue, 18 Feb 2014 20:29:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WFvyN-0003Vj-MP for qemu-devel@nongnu.org; Tue, 18 Feb 2014 20:29:23 -0500 Received: from e9.ny.us.ibm.com ([32.97.182.139]:52361) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFvyN-0003Vd-H6 for qemu-devel@nongnu.org; Tue, 18 Feb 2014 20:29:15 -0500 Received: from /spool/local by e9.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 18 Feb 2014 20:29:14 -0500 Received: from b01cxnp22033.gho.pok.ibm.com (b01cxnp22033.gho.pok.ibm.com [9.57.198.23]) by d01dlp03.pok.ibm.com (Postfix) with ESMTP id 86428C90041 for ; Tue, 18 Feb 2014 20:29:08 -0500 (EST) Received: from d01av05.pok.ibm.com (d01av05.pok.ibm.com [9.56.224.195]) by b01cxnp22033.gho.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id s1J1TBBZ6881550 for ; Wed, 19 Feb 2014 01:29:11 GMT Received: from d01av05.pok.ibm.com (localhost [127.0.0.1]) by d01av05.pok.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s1J1TAF4006928 for ; Tue, 18 Feb 2014 20:29:11 -0500 Message-ID: <530408DC.7070601@linux.vnet.ibm.com> Date: Wed, 19 Feb 2014 09:29:00 +0800 From: "Michael R. Hines" MIME-Version: 1.0 References: <1392713429-18201-1-git-send-email-mrhines@linux.vnet.ibm.com> <530327DA.2070107@cn.fujitsu.com> In-Reply-To: <530327DA.2070107@cn.fujitsu.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [RFC PATCH v2 00/12] mc: fault tolerante through micro-checkpointing List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Li Guang Cc: GILR@il.ibm.com, SADEKJ@il.ibm.com, quintela@redhat.com, BIRAN@il.ibm.com, hinesmr@cn.ibm.com, qemu-devel@nongnu.org, EREZH@il.ibm.com, owasserm@redhat.com, onom@us.ibm.com, junqing.wang@cs2c.com.cn, "Michael R. Hines" , gokul@us.ibm.com, dbulkow@gmail.com, pbonzini@redhat.com, abali@us.ibm.com, isaku.yamahata@gmail.com On 02/18/2014 05:28 PM, Li Guang wrote: > Hi, Michael > > this patch-set will break normal build(without --enable-mc): > > migration.c: In function ‘migrate_rdma_pin_all’: > migration.c:564: error: ‘MIGRATION_CAPABILITY_X_RDMA_PIN_ALL’ > undeclared (first use in this function) > migration.c:564: error: for each function it appears in.) > > Thanks! > Li Guang > Could you use the github.com version for this RFC? https://github.com/hinesmr/qemu/tree/mc Just do "git remote-add" followed by "git fetch" and then "get checkout" in your existing QEMU git clone directory. - Michael > mrhines@linux.vnet.ibm.com wrote: >> From: "Michael R. Hines" >> >> Changes since v1: >> >> 1. Re-based against Juan's improved migration_bitmap performance changes >> 2. Overhauled RDMA support to prepare for better usage of RDMA in >> other parts of the QEMU code base (such as storage). >> 3. Fix for netlink issues that failed to cleanup the network buffer >> device for development testing. >> >> Michael R. Hines (12): >> mc: add documentation for micro-checkpointing >> mc: timestamp migration_bitmap and KVM logdirty usage >> mc: introduce a 'checkpointing' status check into the VCPU states >> mc: support custom page loading and copying >> rdma: accelerated memcpy() support and better external RDMA user >> interfaces >> mc: introduce state machine changes for MC >> mc: introduce additional QMP statistics for micro-checkpointing >> mc: core logic >> mc: configure and makefile support >> mc: expose tunable parameter for checkpointing frequency >> mc: introduce new capabilities to control micro-checkpointing >> mc: activate and use MC if requested >> >> Makefile.objs | 1 + >> arch_init.c | 72 +- >> configure | 45 + >> cpus.c | 9 +- >> docs/mc.txt | 222 ++++ >> hmp-commands.hx | 16 +- >> hmp.c | 23 + >> hmp.h | 1 + >> include/migration/migration.h | 70 +- >> include/migration/qemu-file.h | 55 +- >> migration-checkpoint.c | 1565 +++++++++++++++++++++++++ >> migration-rdma.c | 2605 >> +++++++++++++++++++++++++++-------------- >> migration.c | 156 ++- >> qapi-schema.json | 86 +- >> qemu-file.c | 80 +- >> qmp-commands.hx | 23 + >> vl.c | 9 + >> 17 files changed, 4097 insertions(+), 941 deletions(-) >> create mode 100644 docs/mc.txt >> create mode 100644 migration-checkpoint.c >> > >