Re: [PATCH v3 2/3] KVM: nVMX: Fully emulate preemption timer

2014-03-07 Thread Marcelo Tosatti
On Thu, Mar 06, 2014 at 06:33:58PM +0100, Jan Kiszka wrote: 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. Can you describe this

Re: [PATCH v3 2/3] KVM: nVMX: Fully emulate preemption timer

2014-03-07 Thread Paolo Bonzini
Il 07/03/2014 18:20, Marcelo Tosatti ha scritto: On Thu, Mar 06, 2014 at 06:33:58PM +0100, Jan Kiszka wrote: 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

[PATCH v3 2/3] KVM: nVMX: Fully emulate preemption timer

2014-03-06 Thread Jan Kiszka
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