From: Ben Guthro Subject: pv-on-hvm drivers on Ubuntu Date: Thu, 16 Jul 2009 11:46:05 -0400 Message-ID: <1247759165.7506.91.camel@bguthro-desktop> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: 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 List-Id: xen-devel@lists.xenproject.org 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=3D$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/linu= x-2.6/balloon/balloon.o In file included from /home/bguthro/dev/xen-unstable/xen-unstable.hg/unmodified_drivers/linu= x-2.6/balloon/balloon.c:50: include/xen/interface/memory.h:32: error: expected specifier-qualifier-list before =E2=80=98GUEST_HANDLE=E2=80=99 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 =E2=80=98int= =E2=80=99 in declaration of =E2=80=98DEFINE_GUEST_HANDLE_STRUCT=E2=80=99 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 =E2=80=98GUEST_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=3D$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?