From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47577) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8mCM-0004ul-Bh for qemu-devel@nongnu.org; Tue, 15 Dec 2015 04:47:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a8mCJ-0002fy-6L for qemu-devel@nongnu.org; Tue, 15 Dec 2015 04:47:10 -0500 Received: from [59.151.112.132] (port=56666 helo=heian.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8mCI-0002fE-QV for qemu-devel@nongnu.org; Tue, 15 Dec 2015 04:47:07 -0500 References: <1450167779-9960-1-git-send-email-zhang.zhanghailiang@huawei.com> <1450167779-9960-2-git-send-email-zhang.zhanghailiang@huawei.com> From: Wen Congyang Message-ID: <566FE17B.3070600@cn.fujitsu.com> Date: Tue, 15 Dec 2015 17:46:35 +0800 MIME-Version: 1.0 In-Reply-To: <1450167779-9960-2-git-send-email-zhang.zhanghailiang@huawei.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH COLO-Frame v12 01/38] configure: Add parameter for configure to enable/disable COLO support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: zhanghailiang , qemu-devel@nongnu.org Cc: lizhijian@cn.fujitsu.com, quintela@redhat.com, yunhong.jiang@intel.com, eddie.dong@intel.com, peter.huangpeng@huawei.com, dgilbert@redhat.com, arei.gonglei@huawei.com, stefanha@redhat.com, amit.shah@redhat.com, hongyang.yang@easystack.cn On 12/15/2015 04:22 PM, zhanghailiang wrote: > configure --enable-colo/--disable-colo to switch COLO > support on/off. > COLO support is On by default. > > Signed-off-by: zhanghailiang > Signed-off-by: Li Zhijian > Signed-off-by: Gonglei > Reviewed-by: Dr. David Alan Gilbert > --- > v11: > - Turn COLO on in default (Eric's suggestion) > > Signed-off-by: zhanghailiang I think you forgot to remove this line. Thanks Wen Congyang > --- > configure | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/configure b/configure > index b9552fd..32e466f 100755 > --- a/configure > +++ b/configure > @@ -260,6 +260,7 @@ xfs="" > vhost_net="no" > vhost_scsi="no" > kvm="no" > +colo="yes" > rdma="" > gprof="no" > debug_tcg="no" > @@ -939,6 +940,10 @@ for opt do > ;; > --enable-kvm) kvm="yes" > ;; > + --disable-colo) colo="no" > + ;; > + --enable-colo) colo="yes" > + ;; > --disable-tcg-interpreter) tcg_interpreter="no" > ;; > --enable-tcg-interpreter) tcg_interpreter="yes" > @@ -1362,6 +1367,7 @@ disabled with --disable-FEATURE, default is enabled if available: > fdt fdt device tree > bluez bluez stack connectivity > kvm KVM acceleration support > + colo COarse-grain LOck-stepping VM for Non-stop Service > rdma RDMA-based migration support > uuid uuid support > vde support for vde network > @@ -4792,6 +4798,7 @@ echo "Linux AIO support $linux_aio" > echo "ATTR/XATTR support $attr" > echo "Install blobs $blobs" > echo "KVM support $kvm" > +echo "COLO support $colo" > echo "RDMA support $rdma" > echo "TCG interpreter $tcg_interpreter" > echo "fdt support $fdt" > @@ -5381,6 +5388,10 @@ if have_backend "ftrace"; then > fi > echo "CONFIG_TRACE_FILE=$trace_file" >> $config_host_mak > > +if test "$colo" = "yes"; then > + echo "CONFIG_COLO=y" >> $config_host_mak > +fi > + > if test "$rdma" = "yes" ; then > echo "CONFIG_RDMA=y" >> $config_host_mak > fi >