This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] [PATCH] Paging and memory sharing for HVM guests

To: Grzegorz Milos <gm281@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Paging and memory sharing for HVM guests
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Thu, 17 Dec 2009 11:47:12 -0800
Cc: Patrick Colp <pjcolp@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Andrew Peace <Andrew.Peace@xxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Thu, 17 Dec 2009 11:47:58 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <db8ce2bd0912161514s7a162546gf7f5909db22e274c@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <db8ce2bd0912161514s7a162546gf7f5909db22e274c@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20091203 Fedora/3.0-3.13.rc2.fc12 Thunderbird/3.0
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.

I'm getting compile errors:

gcc  -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 -g 
-fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value 
-Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .bidir-daemon.o.d  
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -Werror -Wno-unused -I../include 
-I../../tools/libxc -I../../tools/include -D_GNU_SOURCE -fPIC -g 
-Wp,-MD,.bidir-daemon.o.d -c -o bidir-daemon.o bidir-daemon.c
cc1: warnings being treated as errors
bidir-daemon.c: In function ‘bidir_daemon’:
bidir-daemon.c:74: error: implicit declaration of function ‘sleep’
make[3]: *** [bidir-daemon.o] Error 1
make[3]: Leaving directory `/home/jeremy/hg/xen/unstable/tools/memshr'


make[3]: Entering directory `/home/jeremy/hg/xen/unstable/tools/xenpaging'
gcc  -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 -g 
-fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value 
-Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .file_ops.o.d  
../../tools/python/xen/lowlevel/xc -I ./ -I../../tools/libxc 
-I../../tools/include -I../../tools/xenstore -I../../tools/include -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 
-fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value 
-Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .xc.o.d  
../../tools/python/xen/lowlevel/xc -I ./ -I../../tools/libxc 
-I../../tools/include -I../../tools/xenstore -I../../tools/include -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/xenpaging'

The first is easily fixed by adding #include <unistd.h>, but I haven't looked into the second yet.


Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>