Re: [kvm-devel] KVM-61/62 build fails on SLES 10
On Fri, 29 Feb 2008, M.J. Rutter wrote: > Whereas KVM-60 builds "out of the box" on SLES 10 SP1 (assuming gcc 3.4 is > installed), KVM-61 and KVM-62 don't. Bother. Ignore that. As far as I can see, no KVM since about KVM-37 has actually run on a kernel that old, due to the lack of hrtimer_init and friends. KVM-60 may build, but it certainly doesn't run, so KVM-61/62's inability to build is of no consequence. Michael - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: [kvm-devel] KVM-61/62 build fails on SLES 10
Well, There is a patch, that may help. It must be applied against clean KVM-61 (maybe it works with 62). Must be applied vs. KVM kernel-space Makefile. # cd kvm-61/kernel/ # patch -p1 < kvm-susekernel.patch # ./configure # make # make install It helps here, on openSUSE Linux 10.3 host. I hope that Avi will merge it in KVM-63. -Alexey "Technologov" --- kernel/Makefile +++ kernel/Makefile @@ -27,7 +27,7 @@ all:: # include header priority 1) $LINUX 2) $KERNELDIR 3) include-compat $(MAKE) -C $(KERNELDIR) M=`pwd` \ - LINUXINCLUDE="-I`pwd`/include -Iinclude -I`pwd`/include-compat \ + LINUXINCLUDE="-I`pwd`/include -Iinclude -Iinclude2 -I/usr/src/linux/include -I`pwd`/include-compat \ -include include/linux/autoconf.h" \ "$$@" - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: [kvm-devel] KVM-61/62 build fails on SLES 10
On Mar 2, 2008, at 12:31 PM, Alexey Eremenko wrote: Well, There is a patch, that may help. It must be applied against clean KVM-61 (maybe it works with 62). Must be applied vs. KVM kernel-space Makefile. # cd kvm-61/kernel/ # patch -p1 < kvm-susekernel.patch # ./configure # make # make install It helps here, on openSUSE Linux 10.3 host. This patch is due to a different problem and I would have posted it if I would have wanted it to get upstream. If you have an idea how to _really_ fix it, please do so. This patch was only meant to be used internally. The basic problem here is that the SUSE kernel splits the kernel in objects, headers and sources. So if you want to build anything, you have to include pieces that are scattered all around the different folders the different packages create. I can get into more detail on this if someone's really interested to fix this long-term without wild 'guessing' of include folders. Regards, Alex- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: [kvm-devel] KVM-61/62 build fails on SLES 10
On Sun, 2 Mar 2008, Alexey Eremenko wrote: > Well, There is a patch, that may help. Thanks. It did. I installed the current openSuSE 10.3 kernel on top of SLES10 SP1, which worked after specifying --nodeps. KVM-62 then built and ran with your patch, and is rather faster than KVM-37 for networking... I should probably give up on SuSE kernels and install a plain kernel.org one. Michael - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: [kvm-devel] KVM-61/62 build fails on SLES 10
>and ran with your patch, and is rather faster than KVM-37 for networking... Hi Michael ! If you're looking for blazing fast networking, then KVM (61+) offers VirtIO - PV networking, capable of breaking the 1 Gbps barrier... But to achieve such speeds you'll need to compile custom kernels (2.6.25) on both Linux Host & Guest. Maybe openSUSE 11/SLES 11 will have the right kernels out-of-the-box. Alternatively, you can try the newest Intel e1000 Gigabit Ethernet emulation (also part of newest KVMs). This is much easier to setup. This will work for any guest. -Technologov, 4.3.2008. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: [kvm-devel] KVM-61/62 build fails on SLES 10
Alexey Eremenko napsal(a): > >and ran with your patch, and is rather faster than KVM-37 for > networking... > > Hi Michael ! > > If you're looking for blazing fast networking, then KVM (61+) offers > VirtIO - PV networking, capable of breaking the 1 Gbps barrier... > But to achieve such speeds you'll need to compile custom kernels > (2.6.25) on both Linux Host & Guest. > > Maybe openSUSE 11/SLES 11 will have the right kernels out-of-the-box. > > Alternatively, you can try the newest Intel e1000 Gigabit Ethernet > emulation (also part of newest KVMs). > This is much easier to setup. This will work for any guest. > > -Technologov, 4.3.2008. > > > > > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > > > > > ___ > kvm-devel mailing list > kvm-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/kvm-devel Hello Sorry for my intervention into your communication, but are you sure, when you want to use virtio, you must have 2.6.25 kernel on both - guest and host system? I test this case right now, and I have running 2.6.25-rc3 only on guest system with kvm-62. -- Tomas Rusnak, Korex Networks - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: [kvm-devel] KVM-61/62 build fails on SLES 10
> Hello > > Sorry for my intervention into your communication, but are you sure, > when you want to use virtio, you must have 2.6.25 kernel on both - guest > and host system? > I test this case right now, and I have running 2.6.25-rc3 only on guest > system with kvm-62. > It's enough running the new guest kernel. Virtio on the host is implemented completely in qemu. Just use tap for better performance. Actually there is a backport for the guest kernel that Anthony Liguori wrote that needs minor changes, I'll post it tomorrow. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel