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] Troubles building the xen linux pv drivers

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-devel] Troubles building the xen linux pv drivers
From: Guillaume Rousse <Guillaume.Rousse@xxxxxxxx>
Date: Fri, 06 Nov 2009 19:01:39 +0100
Cc: Xen Development Mailing List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 06 Nov 2009 10:02:07 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20091105095515.GK1434@xxxxxxxxxxx>
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: <4AF205D0.7070001@xxxxxxxx> <20091105095515.GK1434@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (X11/20091009)
Pasi Kärkkäinen a écrit :
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/ M=$PWD modules
make: Entering directory `/usr/src/linux-'
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, and I'm using a vanilla + Andrew Lyon patches as xenified linux tree.

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 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.
BOFH excuse #21:

POSIX compliance problem

Xen-devel mailing list

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