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] Attempt to compile 2.6.29-rc3 with pv_ops suppot for Dom

To: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: Re: [Xen-devel] Attempt to compile 2.6.29-rc3 with pv_ops suppot for Dom0
From: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Date: Mon, 02 Feb 2009 09:53:27 +0000
Cc: Todd Deshane <deshantm@xxxxxxxxx>, bderzhavets@xxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx, Andrew Lyon <andrew.lyon@xxxxxxxxx>
Delivery-date: Mon, 02 Feb 2009 01:54:36 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <498648DB.60904@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>
Organization: Citrix Systems, Inc.
References: <654609.57069.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <498648DB.60904@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Sun, 2009-02-01 at 17:14 -0800, Jeremy Fitzhardinge wrote:
> Boris Derzhavets wrote:
> >
> > Follow http://wiki.xensource.com/xenwiki/XenParavirtOps on Ubuntu 8.10 
> > Server
> >
> > To get a working tree:
> >
> >    1. hg clone http://www.kernel.org/hg/linux-2.6
> >    2. cd linux-2.6/.hg
> >    3. hg clone http://xenbits.xensource.com/paravirt_ops/patches.hg 
> > patches
> >    4. cd ..
> >    5. ln -s .hg/patches . # for convenience
> >    6. hg update `cat patches/KERNEL_VERSION`
> >    7. hg qpush -a
> >
> > Get the recent patch,in particular :-
> >
> > root@ServerUbuntu:/usr/src/linux-2.6/.hg/patches# ls -l 
> > xen-netback-porting.patch
> > -rw-r--r-- 1 root src 28228 2009-01-31 08:18 xen-netback-porting.patch
> >
> 
> Netback support was just added, and it didn't compile for me last time I 
> tried.  I think Ian has a fix, but I'm not sure if he's committed it yet.

It was compiling and working for me on 32 bit. I hadn't tried 64 bit
(which I guess you both are using).  netback.c:207 is "headlen =
nskb->end - nskb->data" and the type of ->end is sk_buff_data_t which
differs with 32 vs 64 bitness. Will investigate.


Ian.



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