Jorge Lucángeli Obes wrote:
> On 8/15/07, Cam Macdonell <[EMAIL PROTECTED]> wrote:
>> Koen de Jonge (ProcoliX) wrote:
>>> Slohm Gadaburi wrote:
>>>> hi ppl,
>>>>
>>>> I am grateful for the help and tips I've been given here on the earlier
>>>> thread.
>>>> I just want to summarize the bits I've collected,
>>>> please confirm :)
>>>>
>>>> On an up-to-date Ubuntu 7.04 machine:
>>>> - install kvm+qemu packages
>>>> - install the gcc-3.4 package (hopefully it will not overwrite my gcc 4.x 
>>>> ?)
>>>> - download kvm-35
>>>> - configure it without the --patched flag (will it automatically find
>>>> the gcc-3 ?)
>>>> - insmod the just-build kvm-(amd|intel) module
>>>> - make sure i run the qemu binaries supplied from the kvm35 package
>>>>
>>>> that should do the trick ?
>>>>
>> I'm trying to compile kvm-35 (from the git repository) on Ubuntu Feisty
>> (all up to date) and I get the following error:
>>
>> [EMAIL PROTECTED]:~/src/KVM/kvm-userspace$ sudo make
>> make -C kernel
>> make[1]: Entering directory `/home/cam/src/KVM/kvm-userspace/kernel'
>> make -C /lib/modules/2.6.20-15-generic/build M=`pwd` "$@"
>> make[2]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
>> make[3]: *** No rule to make target
>> `/home/cam/src/KVM/kvm-userspace/kernel/svm.o', needed by
>> `/home/cam/src/KVM/kvm-userspace/kernel/kvm.o'.  Stop.
>> make[2]: *** [_module_/home/cam/src/KVM/kvm-userspace/kernel] Error 2
>> make[2]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
>> make[1]: *** [all] Error 2
>> make[1]: Leaving directory `/home/cam/src/KVM/kvm-userspace/kernel'
>> make: *** [kernel] Error 2
>>
>> I have to admit that I'm a little fuzzy on the modules that are needed
>> to build a particular kvm release (and where to get them from).
>>
>> Initially, I used Ubuntu's apt install and then moved on to buidling
>> kvm-33 from source tar ball which built fine.  But, the kvm-33 tarball
>> had the svm source files in the the kernel directory.  I notice those
>> files are not in the kvm-35 kernel directory (and are causing the
>> failure above).  Is there some other repo svm files are part of?
> 
> When I compile from GIT, I use both kvm-userspace.git and kvm.git
> (kernel). The files that are missing are the kernel part of KVM. You
> could clone kvm.git too:
> 
> git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm.git
> 
> and use the following line:
> 
> ./configure --with-patched-kernel --kerneldir=<path-to-local-kvm.git>
> 

Thanks for the help, that compiled the userspace part.   I need the new 
kernel module (kvm-intel.ko), can I take it from the kernel tree some 
way or do I have to use the whole KVM kernel?

Thanks,
Cam

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to