From: Jan Kiszka Date: Fri, 7 Mar 2014 19:03:13 +0000 (+0100) Subject: KVM: nVMX: Fully emulate preemption timer X-Git-Tag: v3.15-rc1~118^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4124500c2c13eb1208c6143b3f6d469709dea10;p=pandora-kernel.git KVM: nVMX: Fully emulate preemption timer We cannot rely on the hardware-provided preemption timer support because we are holding L2 in HLT outside non-root mode. Furthermore, emulating the preemption will resolve tick rate errata on older Intel CPUs. The emulation is based on hrtimer which is started on L2 entry, stopped on L2 exit and evaluated via the new check_nested_events hook. As we no longer rely on hardware features, we can enable both the preemption timer support and value saving unconditionally. Signed-off-by: Jan Kiszka Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed