All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cam Macdonell <cam-edFDblaTWIyXbbII50Afww@public.gmane.org>
To: "Jorge Lucángeli Obes" <t4m5yn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)
Date: Wed, 15 Aug 2007 16:30:22 -0600	[thread overview]
Message-ID: <46C37E7E.1090103@cs.ualberta.ca> (raw)
In-Reply-To: <59abf66e0708151512h7ae91c1ep85e859abc8160d33-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

Jorge Lucángeli Obes wrote:
> On 8/15/07, Cam Macdonell <cam-edFDblaTWIyXbbII50Afww@public.gmane.org> 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:
>>
>> cam@madhatter:~/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/

  parent reply	other threads:[~2007-08-15 22:30 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-15  8:59 kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user) Slohm Gadaburi
     [not found] ` <f95a91fd0708150159kc74ddf3re7883f5d3e221d6b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-15  9:12   ` Koen de Jonge (ProcoliX)
     [not found]     ` <46C2C392.1020104-OoqVcbiag8BWk0Htik3J/w@public.gmane.org>
2007-08-15 22:05       ` Cam Macdonell
     [not found]         ` <46C378C5.4040502-edFDblaTWIyXbbII50Afww@public.gmane.org>
2007-08-15 22:12           ` Jorge Lucángeli Obes
     [not found]             ` <59abf66e0708151512h7ae91c1ep85e859abc8160d33-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-15 22:30               ` Cam Macdonell [this message]
     [not found]                 ` <46C37E7E.1090103-edFDblaTWIyXbbII50Afww@public.gmane.org>
2007-08-15 22:45                   ` Jorge Lucángeli Obes
     [not found]                     ` <59abf66e0708151545u148b9e96kf63ddeaaac578bfd-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-16  5:18                       ` Avi Kivity
     [not found]                         ` <46C3DE2F.4050805-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-08-16 15:39                           ` Cam Macdonell
     [not found]                             ` <46C46F98.9050406-edFDblaTWIyXbbII50Afww@public.gmane.org>
2007-08-16 18:04                               ` Avi Kivity
2007-08-15 22:52           ` Luca
2007-08-16  6:13       ` Slohm Gadaburi
     [not found]         ` <f95a91fd0708152313w7a2fe56cha3b3f6cfe0798b94-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-16  6:27           ` Jorge Lucángeli Obes
     [not found]             ` <59abf66e0708152327x57b1b22fwfd259def52ea5463-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-16  6:42               ` Avi Kivity
2007-08-16  7:35           ` Koen de Jonge

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=46C37E7E.1090103@cs.ualberta.ca \
    --to=cam-edfdblatwiyxbbii50afww@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=t4m5yn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.