qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH COLO-Frame v12 01/38] configure: Add parameter f


From: Hailiang Zhang
Subject: Re: [Qemu-devel] [PATCH COLO-Frame v12 01/38] configure: Add parameter for configure to enable/disable COLO support
Date: Tue, 15 Dec 2015 19:31:48 +0800
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

On 2015/12/15 17:46, Wen Congyang wrote:
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 <address@hidden>
Signed-off-by: Li Zhijian <address@hidden>
Signed-off-by: Gonglei <address@hidden>
Reviewed-by: Dr. David Alan Gilbert <address@hidden>
---
v11:
- Turn COLO on in default (Eric's suggestion)

Signed-off-by: zhanghailiang <address@hidden>

I think you forgot to remove this line.


Oops, i used the wrong git command to make these patches:
'git format-patch -s', with this '-s' parameter, it will add
the 'Signed-off-by' tag automatically. I will take care in next version, Thanks.

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





.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]