From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick Colp Subject: Re: [PATCH] Paging and memory sharing for HVM guests Date: Thu, 17 Dec 2009 12:08:30 -0800 Message-ID: <4B2A8FBE.4090000@cs.ubc.ca> References: <4B2A8AC0.1080902@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4B2A8AC0.1080902@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: xen-devel@lists.xensource.com, Keir Fraser , Grzegorz Milos , Andrew Peace List-Id: xen-devel@lists.xenproject.org That's odd. I just pulled a fresh copy of xen-unstable and built xen and=20 the tools. Both compiled with no errors or problems. Maybe this is some=20 sort of distro-dependent problem? Patrick Jeremy Fitzhardinge wrote: > On 12/16/2009 03:14 PM, Grzegorz Milos wrote: >> The series of 46 patches attached to this email contain the initial >> implementation of memory paging and sharing for Xen. Patrick Colp >> leads the work on the pager, and I am mostly responsible for memory >> sharing. We would be grateful for any comments/suggestions you might >> have. Individual patches are labeled with comments describing their >> purpose and a sign-off footnote. Of course we are happy to discuss >> them in more detail, as required. Assuming that there are no major >> objections against including them in the mainstream xen-unstable tree, >> we would like to move future development to that tree. >> =20 >=20 > I'm getting compile errors: >=20 > gcc -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 -g=20 > -fno-strict-aliasing -std=3Dgnu99 -Wall -Wstrict-prototypes=20 > -Wno-unused-value -Wdeclaration-after-statement -D__XEN_TOOLS__ -MMD=20 > -MF .bidir-daemon.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE =20 > -Werror -Wno-unused -I../include -I../../tools/libxc=20 > -I../../tools/include -D_GNU_SOURCE -fPIC -g -Wp,-MD,.bidir-daemon.o.d=20 > -c -o bidir-daemon.o bidir-daemon.c > cc1: warnings being treated as errors > bidir-daemon.c: In function =91bidir_daemon=92: > bidir-daemon.c:74: error: implicit declaration of function =91sleep=92 > make[3]: *** [bidir-daemon.o] Error 1 > make[3]: Leaving directory `/home/jeremy/hg/xen/unstable/tools/memshr' >=20 > and >=20 > make[3]: Entering directory `/home/jeremy/hg/xen/unstable/tools/xenpagi= ng' > gcc -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 -g=20 > -fno-strict-aliasing -std=3Dgnu99 -Wall -Wstrict-prototypes=20 > -Wno-unused-value -Wdeclaration-after-statement -D__XEN_TOOLS__ -MMD=20 > -MF .file_ops.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I=20 > ../../tools/python/xen/lowlevel/xc -I ./ -I../../tools/libxc=20 > -I../../tools/include -I../../tools/xenstore -I../../tools/include=20 > -Werror -Wno-unused -g -Wp,-MD,.file_ops.o.d -c -o file_ops.o file_ops.= c > gcc -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 -g=20 > -fno-strict-aliasing -std=3Dgnu99 -Wall -Wstrict-prototypes=20 > -Wno-unused-value -Wdeclaration-after-statement -D__XEN_TOOLS__ -MMD=20 > -MF .xc.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I=20 > ../../tools/python/xen/lowlevel/xc -I ./ -I../../tools/libxc=20 > -I../../tools/include -I../../tools/xenstore -I../../tools/include=20 > -Werror -Wno-unused -g -Wp,-MD,.xc.o.d -c -o xc.o xc.c > In file included from xc.c:29: > xc.h:29:27: error: xen/mem_event.h: No such file or directory > make[3]: *** [xc.o] Error 1 > make[3]: Leaving directory `/home/jeremy/hg/xen/unstable/tools/xenpagin= g' >=20 >=20 > The first is easily fixed by adding #include , but I haven't=20 > looked into the second yet. >=20 > Thanks, > J