pv-on-hvm drivers on Ubuntu
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 classinclude/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 declarationinclude/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?