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

[Xen-devel] pv-on-hvm drivers on Ubuntu

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] pv-on-hvm drivers on Ubuntu
From: Ben Guthro <ben.guthro@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 16 Jul 2009 11:46:05 -0400
Delivery-date: Thu, 16 Jul 2009 08:46:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Has anyone had any luck getting the PV-on-HVM drivers to build against
ubuntu? I haven't been able to get them to build on any version I have
tried (though I am using 9.04 now)

Against xen-unstable, I am getting:

make -C /lib/modules/2.6.28-13-generic/build M=$PWD modules
make: Entering directory `/usr/src/linux-headers-2.6.28-13-generic'
  CC
[M]  
/home/bguthro/dev/xen-unstable/xen-unstable.hg/unmodified_drivers/linux-2.6/balloon/balloon.o
In file included
from 
/home/bguthro/dev/xen-unstable/xen-unstable.hg/unmodified_drivers/linux-2.6/balloon/balloon.c:50:
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
include/xen/interface/memory.h:89: error: expected
specifier-qualifier-list before ‘GUEST_HANDLE
...


The steps I take to set this up are:

hg clone http://xenbits.xen.org/xen-unstable.hg
cd xen-unstable.hg
hg clone http://xenbits.xen.org/linux-2.6.18-xen.hg
cd unmodified_drivers/linux-2.6
./mkbuildtree
make -C /lib/modules/2.6.28-13-generic/build M=$PWD modules


Interestingly, I get the same errors using a 3.3 xen tree...so I'm
thinking that its some incompatibility with Ubuntu - though I'm not sure
where to start looking.

Has anyone else run into this?




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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] pv-on-hvm drivers on Ubuntu, Ben Guthro <=