public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: "Xu, Jiajun" <jiajun.xu@intel.com>
Cc: kvm@vger.kernel.org, Marcelo Tosatti <mtosatti@redhat.com>
Subject: Re: KVM Build error with 2.6.26
Date: Thu, 18 Sep 2008 10:25:09 +0200	[thread overview]
Message-ID: <48D21065.5090602@siemens.com> (raw)
In-Reply-To: <DB3BD37E3533EE46BED2FBA80995557F01E312E8@pdsmsx414.ccr.corp.intel.com>

Xu, Jiajun wrote:
> Hi,
> Against latest kvm commit, 9644a6d164e3d6d0532ddb064393293134f31ab2. KVM
> compile meet error on 2.6.26.2. 
> 
> [root@kvm-build kernel]# make
> rm -f include/asm
> ln -sf asm-x86 include/asm
> ln -sf asm-x86 include-compat/asm
> make -C /lib/modules/2.6.26.2/build M=`pwd` \
>                 LINUXINCLUDE="-I`pwd`/include -Iinclude
> -Iarch/x86/include -I`pwd`/include-compat \
>                 -include include/linux/autoconf.h \
>                 -include `pwd`/x86/external-module-compat.h"
> make[1]: Entering directory `/usr/src/redhat/BUILD/kernel-2.6.26.2'
>   CC [M]  /home/build/gitrepo/test/kvm-userspace/kernel/x86/kvm_main.o
> /home/build/gitrepo/test/kvm-userspace/kernel/x86/kvm_main.c: In
> function 'gfn_to_pfn':
> /home/build/gitrepo/test/kvm-userspace/kernel/x86/kvm_main.c:742: error:
> implicit declaration of function 'get_user_pages_fast'
> make[3]: ***
> [/home/build/gitrepo/test/kvm-userspace/kernel/x86/kvm_main.o] Error 1
> make[2]: *** [/home/build/gitrepo/test/kvm-userspace/kernel/x86] Error 2
> make[1]: *** [_module_/home/build/gitrepo/test/kvm-userspace/kernel]
> Error 2
> make[1]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.6.26.2'
> 

I can confirm this bug. Looks like Marcelo's get_user_pages_fast patches
lack corresponding compat wrapping (in kvm-userspace)...

Jan

-- 
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux

  reply	other threads:[~2008-09-18  8:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-18  3:17 KVM Build error with 2.6.26 Xu, Jiajun
2008-09-18  8:25 ` Jan Kiszka [this message]
2008-09-18 16:33   ` [PATCH] add compat wrapper for get_user_pages_fast Jan Kiszka
2008-09-18 22:30     ` Marcelo Tosatti
2008-09-19 23:52     ` Avi Kivity

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48D21065.5090602@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=jiajun.xu@intel.com \
    --cc=kvm@vger.kernel.org \
    --cc=mtosatti@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox