From: Ian Campbell Subject: Re: [RFC Patch v2 10/16] colo: implement restore_callbacks finish_restore() Date: Thu, 11 Jul 2013 10:40:41 +0100 Message-ID: <1373535641.5453.154.camel@hastur.hellion.org.uk> References: <1373531748-12547-1-git-send-email-wency@cn.fujitsu.com> <1373531748-12547-11-git-send-email-wency@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1373531748-12547-11-git-send-email-wency@cn.fujitsu.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wen Congyang Cc: Lai Jiangshan , Jiang Yunhong , Dong Eddie , Ye Wei , xen-devl , Hong Tao , Xu Yao , Shriram Rajagopalan List-Id: xen-devel@lists.xenproject.org On Thu, 2013-07-11 at 16:35 +0800, Wen Congyang wrote: > [...] > diff --git a/tools/libxc/Makefile b/tools/libxc/Makefile > index 70994b9..92d11af 100644 > --- a/tools/libxc/Makefile > +++ b/tools/libxc/Makefile > @@ -49,7 +49,7 @@ GUEST_SRCS-y += xc_nomigrate.c > endif > > vpath %.c ../../xen/common/libelf > -CFLAGS += -I../../xen/common/libelf > +CFLAGS += -I../../xen/common/libelf -I../xenstore We have avoided needing libxc to speak xenstore so far. It looks like you only use xs_suspend_evtchn_port, in which case you could just pass this from libxc's caller. > [...] > + if (colo_data->first_time) { > + sleep(10); This can't be right, can it? Ian.