WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] status of PV drivers in Xen 4.0

To: Guillaume Rousse <Guillaume.Rousse@xxxxxxxx>
Subject: Re: [Xen-devel] status of PV drivers in Xen 4.0
From: Andrew Lyon <andrew.lyon@xxxxxxxxx>
Date: Sat, 10 Apr 2010 13:31:08 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 10 Apr 2010 05:32:14 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=sqPTllD7YfpbxxffX8lbHRFmkEJRsc+qI5mZuxYI8ho=; b=n1Z7XLFLBGGVxgGAsfJ2t9rQ/ZQ7DADCuLj6FOeCKd2F8p5yovGaXyKZIE9w57r/CA 7N/Ebmw9Xu0LXSSqr/eG+vrQHffqdtkiH/denbYL06ccHwxKbKP9VUIjaTxmpQG7PMfQ uFgktyxoLk1VIF7rtM1kTzRQ4EKMjTDrCa4mE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Bq0chQ7+vuPYTPGHkpzpJ6VW70xBV5+sfs8+S42HUnZEOJxoq1R63LyvUIS/TXtonC Te3iC4YTxbSEAlL4gik9E+dCu9LWoUpSF3biCznZ2JJlbYpQaZsHZb308etUJwO9bK3L 3i8tBRqEoN7grDHPDTLZjC+QmyhBnt6v1hChY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4BBA14E6.70208@xxxxxxxx>
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: <4BB11551.5010707@xxxxxxxx> <20100330060411.GT1878@xxxxxxxxxxx> <4BBA14E6.70208@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, Apr 5, 2010 at 5:50 PM, Guillaume Rousse
<Guillaume.Rousse@xxxxxxxx> wrote:
> Le 30/03/2010 08:04, Pasi Kärkkäinen a écrit :
>> 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.
>>>
>>
>> I believe it should compile with 2.6.27 aswell.. or if it doesn't,
>> please let us know.
>>
>> See here for PV-on-HVM drivers building instructions for SLES11 2.6.27:
>> http://wp.colliertech.org/cj/?p=653
>>
>> 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:
>

Have you been successful building the drivers for .31 or .32?

I'd like to make a set of patches available to apply to Xen 3.4.2 or
4.0 to enable building the drivers with recent kernels and the forward
ported kernels I usually use, but while I've been able to rebuild them
on a opensuse 11.2 system running 2.6.31.12 I am finding it hard to
work out which patches need to be applied and what else the rpm build
process does to enable compilation.

Any pointers would be much appreciated.

Andy

> [guillomovitch@n2 linux-2.6]$ make -C
> /lib/modules/2.6.33.1-desktop-2mnb/build M=$PWD modules
> make: entrant dans le répertoire « /usr/src/linux-2.6.33.1-desktop-2mnb »
>  CC [M]
> /home/guillomovitch/cooker/xen/BUILD/xen-4.0-testing.hg/unmodified_drivers/linux-2.6/balloon/balloon.o
> In file included from
> /home/guillomovitch/cooker/xen/BUILD/xen-4.0-testing.hg/unmodified_drivers/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.
> --
> BOFH excuse #284:
>
> Electrons on a bender
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel