On 2011-06-17 20:04, AP wrote: > I tired that and it did not give me any warning. Here is the compilation output: > > make -C /lib/modules/2.6.38-8-generic/build M=`pwd` \ > LINUXINCLUDE="-I`pwd`/include -Iinclude \ > -Iarch/x86/include \ > -I`pwd`/include-compat -I`pwd`/x86 \ > -include include/generated/autoconf.h \ > -include `pwd`/x86/external-module-compat.h" \ > "$@" > make[1]: Entering directory `/usr/src/linux-headers-2.6.38-8-generic' > CC [M] /home/ap/dev/kvm/kvm-kmod/x86/vmx.o > LD [M] /home/ap/dev/kvm/kvm-kmod/x86/kvm.o > LD [M] /home/ap/dev/kvm/kvm-kmod/x86/kvm-intel.o > LD [M] /home/ap/dev/kvm/kvm-kmod/x86/kvm-amd.o > Building modules, stage 2. > MODPOST 3 modules > LD [M] /home/ap/dev/kvm/kvm-kmod/x86/kvm-amd.ko > CC /home/ap/dev/kvm/kvm-kmod/x86/kvm-intel.mod.o > LD [M] /home/ap/dev/kvm/kvm-kmod/x86/kvm-intel.ko > LD [M] /home/ap/dev/kvm/kvm-kmod/x86/kvm.ko > make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic' Do you install the built modules and then do a modprobe, or how do you load them? Also try via insmod /home/ap/dev/kvm/kvm-kmod/x86/kvm.ko I don't know. Something must be broken with your Ubuntu installation. > > My other question is that I see "module_init(vmx_init)" and > "module_exit(vmx_exit)" but nothing similar for kvm. Is that ok? Yes, kvm.ko is just a library to kvm-intel/amd.ko. Those modules drive init and cleanup. Jan
Attachment:
signature.asc
Description: OpenPGP digital signature