[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] problems about compiling the unmodified drivers in xen-3.4.0


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: äçé <vmkernelli@xxxxxxxxxxxx>
  • Date: Mon, 9 Nov 2009 17:47:42 +0800 (CST)
  • Delivery-date: Mon, 09 Nov 2009 01:48:27 -0800
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.cn; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=teHei7k+iz+2kS7GmqHpVrwzbcyL8eb5UooBzgqTH85qjrN2qGAZONsUcGChLurkfd4A1xliUl3wobbFbAF0RoxCv4Ilqh2NGwKVNelFtG3XxTVv1VR9YYcuQFU7pkjxd362B2Jj4KwSX8EvjpiakgSE41/jAtLILTJMfVhZEyQ=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi, all:
     I want to check the function of the balloon driver in HVM guest. But I met a lot of problems when I compiling the balloon driver. I have read the related questions in the mailing-list, but still can not solve this problem.

    According to the README file in xen-3.4.0/unmodified_drivers, I did the following work.

    step 1: ./mkbuildtree (It's ok)
    step 2: make -C xen-3.4.0/linux-2.6.18-xen.hg M=$PWD modules
  
    After a lot of redefined warning messages, I get the error message
"In file included from include/asm/mach-xen/asm/pgtable.h:259,
                 from include/linux/mm.h:39,
                 from xen-3.4.0/unmodified_drivers/linux-2.6/balloon/balloon.c:40:
include/asm/mach-xen/asm/pgtable-3level.h:178: error: expected â)â before numeric constant"

How can I solve this problem? thanks!

BTW: I want to the balloon driver can work in HVM guest with higher kernel version.
for example: the HVM guest's kernel is 2.6.29. when I use the mkbuildtree script, the file path in this script doesn't exist in 2.6.29 kernel. For example, the 2.6.18-xen.hg kernel has the "drivers/xen/core" directory  but the 2.6.29 kernel hasn't, It has only "drivers/xen" directory. So How can I compile a balloon driver for higher kernel HVM guest?

any suggestion are welcome. thanks again!



åçèåçäåïéçèååæäçï
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.