Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-users

[Xen-users] PV drivers on HVM opensuse 10.3

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] PV drivers on HVM opensuse 10.3
From: Sebastian Ries <Sebastian.Ries@xxxxxxxx>
Date: Thu, 29 May 2008 13:57:22 +0200
Delivery-date: Thu, 29 May 2008 04:58:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi there

I have an opensuse10.3 domU running as a HVM guest on xen 3.2.1
No I would like to install the PV drivers to get better performance on
disk IO.

The Problem is that I do not manage to compile the drivers:

linux-inna:~ # uname -a
Linux linux-inna 2.6.22.17-0.1-default #1 SMP 2008/02/10 20:01:04 UTC
i686 i686 i386 GNU/Linux

linux-inna:/mnt/xen-3.2-testing.hg/unmodified_drivers/linux-2.6 # make
-C /lib/modules/2.6.22.17-0.1-default/build M=$PWD modules
make: Entering directory `/usr/src/linux-2.6.22.17-0.1-obj/i386/default'
make -C ../../../linux-2.6.22.17-0.1
O=../linux-2.6.22.17-0.1-obj/i386/default modules
  CC
[M]  /mnt/xen-3.2-testing.hg/unmodified_drivers/linux-2.6/balloon/balloon.o
In file included
from /mnt/xen-3.2-testing.hg/unmodified_drivers/linux-2.6/balloon/balloon.c:48:
/mnt/xen-3.2-testing.hg/unmodified_drivers/linux-2.6/include/asm/hypervisor.h: 
In function ‘HYPERVISOR_shutdown’:
/mnt/xen-3.2-testing.hg/unmodified_drivers/linux-2.6/include/asm/hypervisor.h:191:
 error: implicit declaration of function ‘VOID’
/mnt/xen-3.2-testing.hg/unmodified_drivers/linux-2.6/balloon/balloon.c:101:58: 
error: macro "DECLARE_WORK" passed 3 arguments, but takes just 2
/mnt/xen-3.2-testing.hg/unmodified_drivers/linux-2.6/balloon/balloon.c:
At top level:
/mnt/xen-3.2-testing.hg/unmodified_drivers/linux-2.6/balloon/balloon.c:101: 
warning: type defaults to ‘int’ in declaration of ‘DECLARE_WORK’
/mnt/xen-3.2-testing.hg/unmodified_drivers/linux-2.6/balloon/balloon.c:
In function ‘balloon_alarm’:
/mnt/xen-3.2-testing.hg/unmodified_drivers/linux-2.6/balloon/balloon.c:186: 
error: ‘balloon_worker’ undeclared (first use in this function)
/mnt/xen-3.2-testing.hg/unmodified_drivers/linux-2.6/balloon/balloon.c:186: 
error: (Each undeclared identifier is reported only once
/mnt/xen-3.2-testing.hg/unmodified_drivers/linux-2.6/balloon/balloon.c:186: 
error: for each function it appears in.)
/mnt/xen-3.2-testing.hg/unmodified_drivers/linux-2.6/balloon/balloon.c:
In function ‘balloon_set_new_target’:
/mnt/xen-3.2-testing.hg/unmodified_drivers/linux-2.6/balloon/balloon.c:425: 
error: ‘balloon_worker’ undeclared (first use in this function)
/mnt/xen-3.2-testing.hg/unmodified_drivers/linux-2.6/balloon/balloon.c:
In function ‘alloc_empty_pages_and_pagevec’:
/mnt/xen-3.2-testing.hg/unmodified_drivers/linux-2.6/balloon/balloon.c:671: 
error: ‘balloon_worker’ undeclared (first use in this function)
/mnt/xen-3.2-testing.hg/unmodified_drivers/linux-2.6/balloon/balloon.c:
In function ‘free_empty_pages_and_pagevec’:
/mnt/xen-3.2-testing.hg/unmodified_drivers/linux-2.6/balloon/balloon.c:704: 
error: ‘balloon_worker’ undeclared (first use in this function)
/mnt/xen-3.2-testing.hg/unmodified_drivers/linux-2.6/balloon/balloon.c:
In function ‘balloon_release_driver_page’:
/mnt/xen-3.2-testing.hg/unmodified_drivers/linux-2.6/balloon/balloon.c:716: 
error: ‘balloon_worker’ undeclared (first use in this function)
make[4]: ***
[/mnt/xen-3.2-testing.hg/unmodified_drivers/linux-2.6/balloon/balloon.o]
Fehler 1
make[3]: ***
[/mnt/xen-3.2-testing.hg/unmodified_drivers/linux-2.6/balloon] Fehler 2
make[2]: ***
[_module_/mnt/xen-3.2-testing.hg/unmodified_drivers/linux-2.6] Fehler 2
make[1]: *** [modules] Fehler 2
make: *** [modules] Fehler 2
make: Leaving directory `/usr/src/linux-2.6.22.17-0.1-obj/i386/default'



Is there anything I misunderstood?
(I'm not THAT used to xen...)

Regards
Sebastian Ries

-- 
------------------------------------------------------------
DT Netsolution GmbH -  Talaeckerstr. 30 -  D-70437 Stuttgart
Tel: +49-711-849910-36               Fax: +49-711-849910-936
WEB: http://www.dtnet.de/     email: Sebastian.Ries@xxxxxxxx

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