public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)
@ 2007-08-15  8:59 Slohm Gadaburi
       [not found] ` <f95a91fd0708150159kc74ddf3re7883f5d3e221d6b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: Slohm Gadaburi @ 2007-08-15  8:59 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

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 ?

thank you all i am already anxious to see now whether
installing RH9 will take less than 3 hours :)

slohm

-------------------------------------------------------------------------
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/

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)
       [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>
  0 siblings, 1 reply; 14+ messages in thread
From: Koen de Jonge (ProcoliX) @ 2007-08-15  9:12 UTC (permalink / raw)
  To: Slohm Gadaburi; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

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 ?
>   
You'll need the rest of the required libs also, but this pretty much 
sums it up.

Koen
> thank you all i am already anxious to see now whether
> installing RH9 will take less than 3 hours :)
>   
Please let us know the results.

Koen

-------------------------------------------------------------------------
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/

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)
       [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-16  6:13       ` Slohm Gadaburi
  1 sibling, 1 reply; 14+ messages in thread
From: Cam Macdonell @ 2007-08-15 22:05 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

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?

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/

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)
       [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:52           ` Luca
  1 sibling, 1 reply; 14+ messages in thread
From: Jorge Lucángeli Obes @ 2007-08-15 22:12 UTC (permalink / raw)
  To: Cam Macdonell, kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

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>

Cheers,
Jorge

-------------------------------------------------------------------------
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/

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)
       [not found]             ` <59abf66e0708151512h7ae91c1ep85e859abc8160d33-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2007-08-15 22:30               ` Cam Macdonell
       [not found]                 ` <46C37E7E.1090103-edFDblaTWIyXbbII50Afww@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: Cam Macdonell @ 2007-08-15 22:30 UTC (permalink / raw)
  To: Jorge Lucángeli Obes; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

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/

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)
       [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>
  0 siblings, 1 reply; 14+ messages in thread
From: Jorge Lucángeli Obes @ 2007-08-15 22:45 UTC (permalink / raw)
  To: Cam Macdonell, kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

> 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?

You should be able to compile it without having to compile the whole
kernel. That's what one does with release versions, so it has to be
possible. However, I've been working with the userspace part, so I've
not yet tried it. Maybe someone else can comment? It's probably just
Makefile dark magic.

Cheers,
Jorge

-------------------------------------------------------------------------
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/

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)
       [not found]         ` <46C378C5.4040502-edFDblaTWIyXbbII50Afww@public.gmane.org>
  2007-08-15 22:12           ` Jorge Lucángeli Obes
@ 2007-08-15 22:52           ` Luca
  1 sibling, 0 replies; 14+ messages in thread
From: Luca @ 2007-08-15 22:52 UTC (permalink / raw)
  To: Cam Macdonell; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On 8/16/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?

That is not kvm-35 tarball, it's the git repository for the userspace
component (which -as the name suggests - does not contain the kernel
space part).
Download kvm-35 tarball, you'll find both pieces.

Luca

-------------------------------------------------------------------------
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/

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)
       [not found]                     ` <59abf66e0708151545u148b9e96kf63ddeaaac578bfd-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2007-08-16  5:18                       ` Avi Kivity
       [not found]                         ` <46C3DE2F.4050805-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: Avi Kivity @ 2007-08-16  5:18 UTC (permalink / raw)
  To: Jorge Lucángeli Obes; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Jorge Lucángeli Obes wrote:
>> 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?
>>     
>
> You should be able to compile it without having to compile the whole
> kernel. That's what one does with release versions, so it has to be
> possible. However, I've been working with the userspace part, so I've
> not yet tried it. Maybe someone else can comment? It's probably just
> Makefile dark magic.
>
>   

make -C kernel sync LINUX=/path/to/your/linux/repo


-- 
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


-------------------------------------------------------------------------
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/

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)
       [not found]     ` <46C2C392.1020104-OoqVcbiag8BWk0Htik3J/w@public.gmane.org>
  2007-08-15 22:05       ` Cam Macdonell
@ 2007-08-16  6:13       ` Slohm Gadaburi
       [not found]         ` <f95a91fd0708152313w7a2fe56cha3b3f6cfe0798b94-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  1 sibling, 1 reply; 14+ messages in thread
From: Slohm Gadaburi @ 2007-08-16  6:13 UTC (permalink / raw)
  To: Koen de Jonge (ProcoliX); +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

hi..

so I've compiled kvm-35 on Ubuntu 7.04.
i really had NO troubles, thanks to Koen and his great apt-get list.
and indeed now when I was running, I had the "QEMU\KVM" banner.

so I reinstalled RH9.0.

On 8/15/07, Koen de Jonge (ProcoliX) <koen-OoqVcbiag8BWk0Htik3J/w@public.gmane.org> wrote:
> Please let us know the results.

Estimated time of installation dropped from about 2.5 hours to... 15 minutes !!!

that's remarkable !

thank you all for the help !

maybe if i could slip in a last question - can I share a folder between the host
and the guest ?

thanks
slohm

-------------------------------------------------------------------------
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/

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)
       [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  7:35           ` Koen de Jonge
  1 sibling, 1 reply; 14+ messages in thread
From: Jorge Lucángeli Obes @ 2007-08-16  6:27 UTC (permalink / raw)
  To: Slohm Gadaburi, kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

> maybe if i could slip in a last question - can I share a folder between the host
> and the guest ?

If you use -net user (which is the default) and you have Samba
installed in the host, you can use -smb <path to the shared folder>
and see that folder in:

\\10.0.2.4\qemu

Check QEMU command line options:

-tftp prefix    allow tftp access to files starting with prefix [-net user]
-smb dir        allow SMB access to files in 'dir' [-net user]
-redir [tcp|udp]:host-port:[guest-host]:guest-port
                redirect TCP or UDP connections from host to guest [-net user]

Those are the ones I use. If you use tftp access, the tftp server is
on 10.0.2.2.

Cheers,
Jorge

-------------------------------------------------------------------------
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/

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)
       [not found]             ` <59abf66e0708152327x57b1b22fwfd259def52ea5463-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2007-08-16  6:42               ` Avi Kivity
  0 siblings, 0 replies; 14+ messages in thread
From: Avi Kivity @ 2007-08-16  6:42 UTC (permalink / raw)
  To: Jorge Lucángeli Obes; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Jorge Lucángeli Obes wrote:
>> maybe if i could slip in a last question - can I share a folder between the host
>> and the guest ?
>>     
>
> If you use -net user (which is the default) and you have Samba
> installed in the host, you can use -smb <path to the shared folder>
> and see that folder in:
>
> \\10.0.2.4\qemu
>
> Check QEMU command line options:
>
> -tftp prefix    allow tftp access to files starting with prefix [-net user]
> -smb dir        allow SMB access to files in 'dir' [-net user]
> -redir [tcp|udp]:host-port:[guest-host]:guest-port
>                 redirect TCP or UDP connections from host to guest [-net user]
>
>   

Also, nfs mounts should work fine (easiest when the nfs server is on the
host).


-- 
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


-------------------------------------------------------------------------
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/

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)
       [not found]         ` <f95a91fd0708152313w7a2fe56cha3b3f6cfe0798b94-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2007-08-16  6:27           ` Jorge Lucángeli Obes
@ 2007-08-16  7:35           ` Koen de Jonge
  1 sibling, 0 replies; 14+ messages in thread
From: Koen de Jonge @ 2007-08-16  7:35 UTC (permalink / raw)
  To: Slohm Gadaburi; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Slohm Gadaburi wrote:
> hi..
>
> so I've compiled kvm-35 on Ubuntu 7.04.
> i really had NO troubles, thanks to Koen and his great apt-get list.
> and indeed now when I was running, I had the "QEMU\KVM" banner.
>
> so I reinstalled RH9.0.
>
> On 8/15/07, Koen de Jonge (ProcoliX) <koen-OoqVcbiag8BWk0Htik3J/w@public.gmane.org> wrote:
>   
>> Please let us know the results.
>>     
>
> Estimated time of installation dropped from about 2.5 hours to... 15 minutes !!!
>
> that's remarkable !
>
> thank you all for the help !
>   
That is great news. I haven't found the time to reinstall my machine yet 
to a clean state. But I guess that is the problem in testing/debugging 
with virtual machine supporting software.

Or is it possible to test/debug the kvm software in a virtual machine is 
some way?

Koen

-------------------------------------------------------------------------
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/

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)
       [not found]                         ` <46C3DE2F.4050805-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
@ 2007-08-16 15:39                           ` Cam Macdonell
       [not found]                             ` <46C46F98.9050406-edFDblaTWIyXbbII50Afww@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: Cam Macdonell @ 2007-08-16 15:39 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Avi Kivity wrote:
> Jorge Lucángeli Obes wrote:
>>> 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?
>>>     
>> You should be able to compile it without having to compile the whole
>> kernel. That's what one does with release versions, so it has to be
>> possible. However, I've been working with the userspace part, so I've
>> not yet tried it. Maybe someone else can comment? It's probably just
>> Makefile dark magic.
>>
>>   
> 
> make -C kernel sync LINUX=/path/to/your/linux/repo
> 
Hi Avi,

If I run that in the userspace repo it moves some files but doesn't 
actually compile anything.  Sorry to be dense about this, but are there 
any other steps?

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/

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)
       [not found]                             ` <46C46F98.9050406-edFDblaTWIyXbbII50Afww@public.gmane.org>
@ 2007-08-16 18:04                               ` Avi Kivity
  0 siblings, 0 replies; 14+ messages in thread
From: Avi Kivity @ 2007-08-16 18:04 UTC (permalink / raw)
  To: Cam Macdonell; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Cam Macdonell wrote:
> Avi Kivity wrote:
>> Jorge Lucángeli Obes wrote:
>>>> 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?
>>>>     
>>> You should be able to compile it without having to compile the whole
>>> kernel. That's what one does with release versions, so it has to be
>>> possible. However, I've been working with the userspace part, so I've
>>> not yet tried it. Maybe someone else can comment? It's probably just
>>> Makefile dark magic.
>>>
>>>   
>>
>> make -C kernel sync LINUX=/path/to/your/linux/repo
>>
> Hi Avi,
>
> If I run that in the userspace repo it moves some files but doesn't
> actually compile anything.  Sorry to be dense about this, but are
> there any other steps?
>

./configure
make


-- 
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


-------------------------------------------------------------------------
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/

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2007-08-16 18:04 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
     [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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox