qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: POLL: Why do you use kqemu?


From: Gleb Natapov
Subject: Re: [Qemu-devel] Re: POLL: Why do you use kqemu?
Date: Sun, 7 Jun 2009 14:29:30 +0300

On Sun, Jun 07, 2009 at 02:26:46PM +0300, Blue Swirl wrote:
> On 6/7/09, Gleb Natapov <address@hidden> wrote:
> > On Sun, Jun 07, 2009 at 02:13:15PM +0300, Blue Swirl wrote:
> >  > kvm-kmod seems to be available only for x86, not amd64. This is not
> >  > mentioned in README (in fact, there is no README), configure will
> >  > succeed and make will only generate funky errors. I only found this
> >  > mentioned in http://www.linux-kvm.org/page/Code after quite a bit of
> >  > head scratching.
> >  >
> >
> > Never used kvm-kmod on x86 only with x86_64.
> 
> How do you compile it then, I only get so far:
I have linux-2.6 link there to the kernel tree with latest kvm. Than I
do "make sync && make"

> $ make V=1
> make -C /lib/modules/2.6.26-2-amd64/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/linux-headers-2.6.26-2-amd64'
> test -e include/linux/autoconf.h -a -e include/config/auto.conf || (        \
>         echo;                                                           \
>         echo "  ERROR: Kernel configuration is invalid.";               \
>         echo "         include/linux/autoconf.h or
> include/config/auto.conf are missing.";   \
>         echo "         Run 'make oldconfig && make prepare' on kernel
> src to fix it.";       \
>         echo;                                                           \
>         /bin/false)
> mkdir -p /tmp/kvm-kmod/.tmp_versions ; rm -f /tmp/kvm-kmod/.tmp_versions/*
> make -f scripts/Makefile.build obj=/tmp/kvm-kmod
> make -f scripts/Makefile.build obj=/tmp/kvm-kmod/x86
> make[3]: *** No rule to make target `/tmp/kvm-kmod/x86/svm.o', needed
> by `/tmp/kvm-kmod/x86/kvm.o'.  Stop.
> make[2]: *** [/tmp/kvm-kmod/x86] Error 2
> make[1]: *** [_module_/tmp/kvm-kmod] Error 2
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.26-2-amd64'
> make: *** [all] Error 2

--
                        Gleb.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]