From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guillaume Rousse Subject: Re: Troubles building the xen linux pv drivers Date: Fri, 06 Nov 2009 19:01:39 +0100 Message-ID: <4AF46483.80606@inria.fr> References: <4AF205D0.7070001@inria.fr> <20091105095515.GK1434@reaktio.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20091105095515.GK1434@reaktio.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: =?ISO-8859-1?Q?Pasi_K=E4rkk=E4inen?= Cc: Xen Development Mailing List List-Id: xen-devel@lists.xenproject.org Pasi K=E4rkk=E4inen a =E9crit : > On Wed, Nov 04, 2009 at 11:53:04PM +0100, Guillaume Rousse wrote: >> Hello list. >> >> I'm having trouble building the xen linux pv drivers from xen 3.4.1: >> [guillaume@oberkampf linux-2.6]$ make -C=20 >> /lib/modules/2.6.31.5-desktop-1mnb/build/ M=3D$PWD modules >> make: Entering directory `/usr/src/linux-2.6.31.5-desktop-1mnb' >> CC [M]=20 >> /home/guillaume/xen-3.4.1/unmodified_drivers/linux-2.6/balloon/balloon= .o >> In file included from=20 >> /home/guillaume/xen-3.4.1/unmodified_drivers/linux-2.6/balloon/balloon= .c:51: >> include/xen/interface/memory.h:32: error: expected=20 >> specifier-qualifier-list before 'GUEST_HANDLE' >> include/xen/interface/memory.h:53: warning: data definition has no typ= e=20 >> or storage class >> >> My current kernel is a 2.6.31.5, and I'm using a vanilla 2.6.30.2 +=20 >> Andrew Lyon patches as xenified linux tree. >> >=20 > I think unmodified_drivers is currently only supported on Linux 2.6.18. They are commit logs message in mercurial about fixing build with Linux=20 2.6.27+, so I think at least 2.6.27 is supposed to build. > Novell has some patches to make it work on 2.6.27. Is there a public repository available for them ? > Also, afaik, someone at Redhat is working on porting the > unmodified_drivers to pv_ops framework for upstream Linux kernel. Again, I'm interested by any reference about where to find the code. --=20 BOFH excuse #21: POSIX compliance problem