From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: Troubles building the xen linux pv drivers Date: Thu, 5 Nov 2009 11:55:15 +0200 Message-ID: <20091105095515.GK1434@reaktio.net> References: <4AF205D0.7070001@inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <4AF205D0.7070001@inria.fr> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Guillaume Rousse Cc: Xen Development Mailing List List-Id: xen-devel@lists.xenproject.org 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 > /lib/modules/2.6.31.5-desktop-1mnb/build/ M=$PWD modules > make: Entering directory `/usr/src/linux-2.6.31.5-desktop-1mnb' > CC [M] > /home/guillaume/xen-3.4.1/unmodified_drivers/linux-2.6/balloon/balloon.o > In file included from > /home/guillaume/xen-3.4.1/unmodified_drivers/linux-2.6/balloon/balloon.c:51: > include/xen/interface/memory.h:32: error: expected > specifier-qualifier-list before 'GUEST_HANDLE' > include/xen/interface/memory.h:53: warning: data definition has no type > or storage class > > My current kernel is a 2.6.31.5, and I'm using a vanilla 2.6.30.2 + > Andrew Lyon patches as xenified linux tree. > I think unmodified_drivers is currently only supported on Linux 2.6.18. Novell has some patches to make it work on 2.6.27. Also, afaik, someone at Redhat is working on porting the unmodified_drivers to pv_ops framework for upstream Linux kernel. -- Pasi