Re: [kvm-devel] kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)
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) [EMAIL PROTECTED] 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/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: [kvm-devel] kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)
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 prefixallow tftp access to files starting with prefix [-net user] -smb dirallow 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/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: [kvm-devel] kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)
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 prefixallow tftp access to files starting with prefix [-net user] -smb dirallow 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/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: [kvm-devel] kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)
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) [EMAIL PROTECTED] 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/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: [kvm-devel] kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)
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/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: [kvm-devel] kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)
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/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
[kvm-devel] kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)
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/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: [kvm-devel] kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)
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 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/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: [kvm-devel] kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)
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/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: [kvm-devel] kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)
On 8/16/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? 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/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: [kvm-devel] kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)
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
Re: [kvm-devel] kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)
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/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel