* [ANNOUNCE] kvm-44 release
@ 2007-09-23 14:25 Avi Kivity
[not found] ` <46F6775E.3010508-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
0 siblings, 1 reply; 6+ messages in thread
From: Avi Kivity @ 2007-09-23 14:25 UTC (permalink / raw)
To: kvm-devel
An important fix to guest smp (it boots now!), and a performance
improvement on Intel hardware. I get about 5% boost on a kernel build.
There's a new module parameter to kvm-intel.ko that can disable this
mechanism, bypass_guest_pf. Load the module with bypass_guest_pf=0 to
disable the optimization. It shouldn't be necessary to do that on
current processors; it's mostly to protect kvm against changes in
hardware since the patch uses reserved bits.
As usual, if you have an issue please try with -no-kvm-irqchip and report.
Changes from kvm-43:
- fix smp guest boot
- fix IDE emulation bug with newer guest kernels (S.Çağlar Onur)
- support VMware server as guest (Ryan Harper)
- fix smp race in shadow code (Izik Eidus)
- allow guest page faults to bypass kvm on Intel (performance boost)
Notes:
If you use the modules bundled with kvm-44, you can use any version
of Linux from 2.6.9 upwards.
If you use the modules bundled with Linux 2.6.20, you need to use
kvm-12.
If you use the modules bundled with Linux 2.6.21, you need to use
kvm-17.
Modules from Linux 2.6.22 and up will work with any kvm version from
kvm-22. Some features may only be available in newer releases.
For best performance, use Linux 2.6.23-rc2 or later as the host.
http://kvm.qumranet.com
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel
^ permalink raw reply [flat|nested] 6+ messages in thread[parent not found: <46F6775E.3010508-atKUWr5tajBWk0Htik3J/w@public.gmane.org>]
* Re: [ANNOUNCE] kvm-44 release [not found] ` <46F6775E.3010508-atKUWr5tajBWk0Htik3J/w@public.gmane.org> @ 2007-09-23 19:48 ` Farkas Levente [not found] ` <46F6C2FA.7080303-lWVWdrzSO4GHXe+LvDLADg@public.gmane.org> 0 siblings, 1 reply; 6+ messages in thread From: Farkas Levente @ 2007-09-23 19:48 UTC (permalink / raw) To: Avi Kivity; +Cc: kvm-devel Avi Kivity wrote: > An important fix to guest smp (it boots now!), and a performance > improvement on Intel hardware. I get about 5% boost on a kernel build. > > There's a new module parameter to kvm-intel.ko that can disable this > mechanism, bypass_guest_pf. Load the module with bypass_guest_pf=0 to > disable the optimization. It shouldn't be necessary to do that on > current processors; it's mostly to protect kvm against changes in > hardware since the patch uses reserved bits. make[1]: Entering directory `/usr/src/kernels/2.6.18-8.1.10.el5-x86_64' LD /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/built-in.o CC [M] /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/svm.o CC [M] /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/vmx.o CC [M] /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/vmx-debug.o CC [M] /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/kvm_main.o CC [M] /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/mmu.o /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/mmu.c:1152: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'last_updated_pte_accessed' /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/mmu.c: In function 'kvm_mmu_pte_write': /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/mmu.c:1180: error: implicit declaration of function 'last_updated_pte_accessed' make[2]: *** [/home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/mmu.o] Error 1 make[1]: *** [_module_/home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.18-8.1.10.el5-x86_64' make: *** [all] Error 2 -- Levente "Si vis pacem para bellum!" ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <46F6C2FA.7080303-lWVWdrzSO4GHXe+LvDLADg@public.gmane.org>]
* Re: [ANNOUNCE] kvm-44 release [not found] ` <46F6C2FA.7080303-lWVWdrzSO4GHXe+LvDLADg@public.gmane.org> @ 2007-09-24 7:43 ` Avi Kivity [not found] ` <46F76AA1.1090200-atKUWr5tajBWk0Htik3J/w@public.gmane.org> 0 siblings, 1 reply; 6+ messages in thread From: Avi Kivity @ 2007-09-24 7:43 UTC (permalink / raw) To: Farkas Levente; +Cc: kvm-devel Farkas Levente wrote: > Avi Kivity wrote: > >> An important fix to guest smp (it boots now!), and a performance >> improvement on Intel hardware. I get about 5% boost on a kernel build. >> >> There's a new module parameter to kvm-intel.ko that can disable this >> mechanism, bypass_guest_pf. Load the module with bypass_guest_pf=0 to >> disable the optimization. It shouldn't be necessary to do that on >> current processors; it's mostly to protect kvm against changes in >> hardware since the patch uses reserved bits. >> > > make[1]: Entering directory `/usr/src/kernels/2.6.18-8.1.10.el5-x86_64' > LD /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/built-in.o > CC [M] /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/svm.o > CC [M] /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/vmx.o > CC [M] /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/vmx-debug.o > CC [M] /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/kvm_main.o > CC [M] /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/mmu.o > /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/mmu.c:1152: error: > expected '=', ',', ';', 'asm' or '__attribute__' before > 'last_updated_pte_accessed' > /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/mmu.c: In function > 'kvm_mmu_pte_write': > /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/mmu.c:1180: error: > implicit declaration of function 'last_updated_pte_accessed' > make[2]: *** > [/home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/mmu.o] Error 1 > make[1]: *** > [_module_/home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel] Error 2 > make[1]: Leaving directory `/usr/src/kernels/2.6.18-8.1.10.el5-x86_64' > make: *** [all] Error 2 > > Try adding '#define bool _Bool' to kernel/external-module-compat.h, and let us know. I'll fix it for kvm-45. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <46F76AA1.1090200-atKUWr5tajBWk0Htik3J/w@public.gmane.org>]
* Re: [ANNOUNCE] kvm-44 release [not found] ` <46F76AA1.1090200-atKUWr5tajBWk0Htik3J/w@public.gmane.org> @ 2007-09-24 8:05 ` Farkas Levente [not found] ` <46F76FBA.1040907-lWVWdrzSO4GHXe+LvDLADg@public.gmane.org> 0 siblings, 1 reply; 6+ messages in thread From: Farkas Levente @ 2007-09-24 8:05 UTC (permalink / raw) To: Avi Kivity; +Cc: kvm-devel Avi Kivity wrote: > Farkas Levente wrote: >> Avi Kivity wrote: >> >>> An important fix to guest smp (it boots now!), and a performance >>> improvement on Intel hardware. I get about 5% boost on a kernel build. >>> >>> There's a new module parameter to kvm-intel.ko that can disable this >>> mechanism, bypass_guest_pf. Load the module with bypass_guest_pf=0 >>> to disable the optimization. It shouldn't be necessary to do that on >>> current processors; it's mostly to protect kvm against changes in >>> hardware since the patch uses reserved bits. >>> >> >> make[1]: Entering directory `/usr/src/kernels/2.6.18-8.1.10.el5-x86_64' >> LD >> /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/built-in.o >> CC [M] /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/svm.o >> CC [M] /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/vmx.o >> CC [M] >> /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/vmx-debug.o >> CC [M] >> /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/kvm_main.o >> CC [M] /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/mmu.o >> /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/mmu.c:1152: error: >> expected '=', ',', ';', 'asm' or '__attribute__' before >> 'last_updated_pte_accessed' >> /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/mmu.c: In function >> 'kvm_mmu_pte_write': >> /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/mmu.c:1180: error: >> implicit declaration of function 'last_updated_pte_accessed' >> make[2]: *** >> [/home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/mmu.o] Error 1 >> make[1]: *** >> [_module_/home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel] Error 2 >> make[1]: Leaving directory `/usr/src/kernels/2.6.18-8.1.10.el5-x86_64' >> make: *** [all] Error 2 >> >> > > Try adding '#define bool _Bool' to kernel/external-module-compat.h, and > let us know. I'll fix it for kvm-45. i just put after the #include <linux/smp.h> but it doesn't help. ps. anyway if you check my dail snapshot build you can see there is no build after 22th (probably because of this. anyway i see that the snapshot are generated at 0:30, but it which timezone? -- Levente "Si vis pacem para bellum!" ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <46F76FBA.1040907-lWVWdrzSO4GHXe+LvDLADg@public.gmane.org>]
* Re: [ANNOUNCE] kvm-44 release [not found] ` <46F76FBA.1040907-lWVWdrzSO4GHXe+LvDLADg@public.gmane.org> @ 2007-09-24 8:18 ` Avi Kivity [not found] ` <46F772D0.7050102-atKUWr5tajBWk0Htik3J/w@public.gmane.org> 0 siblings, 1 reply; 6+ messages in thread From: Avi Kivity @ 2007-09-24 8:18 UTC (permalink / raw) To: Farkas Levente; +Cc: kvm-devel Farkas Levente wrote: > Avi Kivity wrote: > >> Farkas Levente wrote: >> >>> Avi Kivity wrote: >>> >>> >>>> An important fix to guest smp (it boots now!), and a performance >>>> improvement on Intel hardware. I get about 5% boost on a kernel build. >>>> >>>> There's a new module parameter to kvm-intel.ko that can disable this >>>> mechanism, bypass_guest_pf. Load the module with bypass_guest_pf=0 >>>> to disable the optimization. It shouldn't be necessary to do that on >>>> current processors; it's mostly to protect kvm against changes in >>>> hardware since the patch uses reserved bits. >>>> >>>> >>> make[1]: Entering directory `/usr/src/kernels/2.6.18-8.1.10.el5-x86_64' >>> LD >>> /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/built-in.o >>> CC [M] /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/svm.o >>> CC [M] /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/vmx.o >>> CC [M] >>> /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/vmx-debug.o >>> CC [M] >>> /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/kvm_main.o >>> CC [M] /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/mmu.o >>> /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/mmu.c:1152: error: >>> expected '=', ',', ';', 'asm' or '__attribute__' before >>> 'last_updated_pte_accessed' >>> /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/mmu.c: In function >>> 'kvm_mmu_pte_write': >>> /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/mmu.c:1180: error: >>> implicit declaration of function 'last_updated_pte_accessed' >>> make[2]: *** >>> [/home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/mmu.o] Error 1 >>> make[1]: *** >>> [_module_/home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel] Error 2 >>> make[1]: Leaving directory `/usr/src/kernels/2.6.18-8.1.10.el5-x86_64' >>> make: *** [all] Error 2 >>> >>> >>> >> Try adding '#define bool _Bool' to kernel/external-module-compat.h, and >> let us know. I'll fix it for kvm-45. >> > > i just put after the #include <linux/smp.h> but it doesn't help. > > That should have worked. How about '#define bool int'? > ps. anyway if you check my dail snapshot build you can see there is no > build after 22th (probably because of this. anyway i see that the > snapshot are generated at 0:30, but it which timezone? > > IST (UTC+2) -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <46F772D0.7050102-atKUWr5tajBWk0Htik3J/w@public.gmane.org>]
* Re: [ANNOUNCE] kvm-44 release [not found] ` <46F772D0.7050102-atKUWr5tajBWk0Htik3J/w@public.gmane.org> @ 2007-09-24 8:37 ` Farkas Levente 0 siblings, 0 replies; 6+ messages in thread From: Farkas Levente @ 2007-09-24 8:37 UTC (permalink / raw) To: Avi Kivity; +Cc: kvm-devel Avi Kivity wrote: > Farkas Levente wrote: >> Avi Kivity wrote: >> >>> Farkas Levente wrote: >>> >>>> Avi Kivity wrote: >>>> >>>> >>>>> An important fix to guest smp (it boots now!), and a performance >>>>> improvement on Intel hardware. I get about 5% boost on a kernel >>>>> build. >>>>> >>>>> There's a new module parameter to kvm-intel.ko that can disable this >>>>> mechanism, bypass_guest_pf. Load the module with bypass_guest_pf=0 >>>>> to disable the optimization. It shouldn't be necessary to do that on >>>>> current processors; it's mostly to protect kvm against changes in >>>>> hardware since the patch uses reserved bits. >>>>> >>>> make[1]: Entering directory `/usr/src/kernels/2.6.18-8.1.10.el5-x86_64' >>>> LD >>>> /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/built-in.o >>>> CC [M] /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/svm.o >>>> CC [M] /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/vmx.o >>>> CC [M] >>>> /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/vmx-debug.o >>>> CC [M] >>>> /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/kvm_main.o >>>> CC [M] /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/mmu.o >>>> /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/mmu.c:1152: >>>> error: >>>> expected '=', ',', ';', 'asm' or '__attribute__' before >>>> 'last_updated_pte_accessed' >>>> /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/mmu.c: In >>>> function >>>> 'kvm_mmu_pte_write': >>>> /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/mmu.c:1180: >>>> error: >>>> implicit declaration of function 'last_updated_pte_accessed' >>>> make[2]: *** >>>> [/home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/mmu.o] Error 1 >>>> make[1]: *** >>>> [_module_/home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel] Error 2 >>>> make[1]: Leaving directory `/usr/src/kernels/2.6.18-8.1.10.el5-x86_64' >>>> make: *** [all] Error 2 >>>> >>>> >>> Try adding '#define bool _Bool' to kernel/external-module-compat.h, and >>> let us know. I'll fix it for kvm-45. >>> >> >> i just put after the #include <linux/smp.h> but it doesn't help. >> >> > > That should have worked. How about '#define bool int'? with _Bool: CC [M] /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/vmx.o /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/vmx.c:39: error: expected ')' before '&' token /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/vmx.c:39: error: 'param_set__Bool' undeclared here (not in a function) /home/robot/rpm/BUILD/kvm-kmod-44/_kmod_build_/kernel/vmx.c:39: error: 'param_get__Bool' undeclared here (not in a function) with int it's working -- Levente "Si vis pacem para bellum!" ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-09-24 8:37 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-23 14:25 [ANNOUNCE] kvm-44 release Avi Kivity
[not found] ` <46F6775E.3010508-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-09-23 19:48 ` Farkas Levente
[not found] ` <46F6C2FA.7080303-lWVWdrzSO4GHXe+LvDLADg@public.gmane.org>
2007-09-24 7:43 ` Avi Kivity
[not found] ` <46F76AA1.1090200-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-09-24 8:05 ` Farkas Levente
[not found] ` <46F76FBA.1040907-lWVWdrzSO4GHXe+LvDLADg@public.gmane.org>
2007-09-24 8:18 ` Avi Kivity
[not found] ` <46F772D0.7050102-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-09-24 8:37 ` Farkas Levente
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox