From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guillaume Rousse Subject: Re: status of PV drivers in Xen 4.0 Date: Mon, 05 Apr 2010 18:50:46 +0200 Message-ID: <4BBA14E6.70208@inria.fr> References: <4BB11551.5010707@inria.fr> <20100330060411.GT1878@reaktio.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20100330060411.GT1878@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: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Le 30/03/2010 08:04, Pasi K=E4rkk=E4inen a =E9crit : > On Mon, Mar 29, 2010 at 11:02:09PM +0200, Guillaume Rousse wrote: >> Hello. >> >> The directory 'unmodified_drivers', in Xen-4.0rc8, seems to still >> requires a 2.6.18 XenLinux kernel to build. For instance, overrides.mk >> still refers to $(objtree)/include/linux/autoconf.h, instead of >> $(objtree)/include/generated/autoconf.h in recent kernels. >> >=20 > I believe it should compile with 2.6.27 aswell.. or if it doesn't, > please let us know. >=20 > See here for PV-on-HVM drivers building instructions for SLES11 2.6.27: > http://wp.colliertech.org/cj/?p=3D653 >=20 > If the unmodified_drivers from Xen 4.0 doesn't build for 2.6.27, > then we should definitely add the (possible) patches from Novell. Whatever XenLinux tree I tried (xensource 2.6.18, or novell 2.6.32), it fails to build for 2.6.33. It's probably a trivial error, such as a missing header file, but I'm really not enough kernel-aware to find which one: [guillomovitch@n2 linux-2.6]$ make -C /lib/modules/2.6.33.1-desktop-2mnb/build M=3D$PWD modules make: entrant dans le r=E9pertoire =AB /usr/src/linux-2.6.33.1-desktop-2m= nb =BB CC [M] /home/guillomovitch/cooker/xen/BUILD/xen-4.0-testing.hg/unmodified_driver= s/linux-2.6/balloon/balloon.o In file included from /home/guillomovitch/cooker/xen/BUILD/xen-4.0-testing.hg/unmodified_driver= s/linux-2.6/balloon/balloon.c:52: 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 include/xen/interface/memory.h:53: warning: type defaults to 'int' in declaration of 'DEFINE_GUEST_HANDLE_STRUCT' include/xen/interface/memory.h:53: warning: parameter names (without types) in function declaration BTW, the pvops-based 2.6.32.11 kernel isn't a suitable xenlinux tree, it misses needed files. --=20 BOFH excuse #284: Electrons on a bender