On Thu, 2009-09-24 at 21:48 -0500, James Erickson wrote: > >You have to en/dis/able: > >CONFIG_HAVE_KVM=y > >CONFIG_HAVE_KVM_IRQCHIP=y > >CONFIG_KVM=m > ># CONFIG_KVM_INTEL is not set > ># CONFIG_KVM_AMD is not set > ># CONFIG_KVM_TRACE is not set > > Daniel i am getting the following error: > > make[1]: Entering directory `/usr/src/linux-2.6.31-gentoo' > LD > /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/built-in.o > CC [M] > /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/svm.o > CC [M] > /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/vmx.o > CC [M] > /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/vmx-debug.o > CC [M] > /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/kvm_main.o > CC [M] > /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/x86.o > CC [M] > /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/mmu.o > CC [M] > /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/x86_emulate.o > CC [M] > /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/../anon_inodes.o > CC [M] > /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/irq.o > In file included from > /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/trace.h:355, > from > /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/x86.c:83: > include/trace/define_trace.h:53:43: error: arch/x86/kvm/trace.h: No such file > or directory > CC [M] > /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/i8259.o > make[3]: *** > [/dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/x86.o] > Error 1 > make[3]: *** Waiting for unfinished jobs.... > In file included from > /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/mmutrace.h:220, > from > /dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/mmu.c:184: > include/trace/define_trace.h:53:43: error: ./mmutrace.h: No such file or > directory > make[3]: *** > [/dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86/mmu.o] > Error 1 > make[3]: *** wait: No child processes. Stop. > make[2]: *** > [/dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88/x86] > Error 2 > make[1]: *** > [_module_/dev/shm/portage/app-emulation/kvm-kmod-88-r1/work/kvm-kmod-devel-88] > Error 2 > make[1]: Leaving directory `/usr/src/linux-2.6.31-gentoo' > make: *** [all] Error 2
A second of google led me here: I think you find the answer to your problem develops from here: http://bugs.gentoo.org/show_bug.cgi?id=280282 And can be found here: http://bugs.gentoo.org/show_bug.cgi?id=286042 [..] if you have 2.6.31 and want to use kvm-88-r1, kvm-kmod-88-r1 is not required and you can use the in kernel modules. if they release kvm-devel-89 for example, it may have newer kvm-kmod code than what is bundled in the kernel. Bye, Daniel