From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wen Congyang Subject: Re: [RFC Patch v2 10/16] colo: implement restore_callbacks finish_restore() Date: Thu, 11 Jul 2013 17:54:02 +0800 Message-ID: <51DE80BA.5000603@cn.fujitsu.com> References: <1373531748-12547-1-git-send-email-wency@cn.fujitsu.com> <1373531748-12547-11-git-send-email-wency@cn.fujitsu.com> <1373535641.5453.154.camel@hastur.hellion.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1373535641.5453.154.camel@hastur.hellion.org.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Lai Jiangshan , Jiang Yunhong , Dong Eddie , Ye Wei , xen-devl , Hong Tao , Xu Yao , Shriram Rajagopalan List-Id: xen-devel@lists.xenproject.org At 07/11/2013 05:40 PM, Ian Campbell Wrote: > 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. OK. I will fix it in the next version. > > 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? Yes, just to wait suspend evtchn port. I will cleanup it in the next version. Thanks > > Ian. > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel >