Re: [PATCH] x86: kvm: fix unstable_tsc boot

2014-02-25 Thread Andrew Jones
On Mon, Feb 24, 2014 at 06:15:24PM -0300, Marcelo Tosatti wrote: On Mon, Feb 24, 2014 at 04:42:29PM +0100, Andrew Jones wrote: When the tsc is marked unstable on the host it causes global clock updates to be requested each time a vcpu is loaded, nearly halting all progress on guests with a

[PATCH] x86: kvm: fix unstable_tsc boot

2014-02-24 Thread Andrew Jones
When the tsc is marked unstable on the host it causes global clock updates to be requested each time a vcpu is loaded, nearly halting all progress on guests with a large number of vcpus. Fix this by only requesting a local clock update unless the vcpu is migrating to another cpu. Signed-off-by:

Re: [PATCH] x86: kvm: fix unstable_tsc boot

2014-02-24 Thread Marcelo Tosatti
On Mon, Feb 24, 2014 at 04:42:29PM +0100, Andrew Jones wrote: When the tsc is marked unstable on the host it causes global clock updates to be requested each time a vcpu is loaded, nearly halting all progress on guests with a large number of vcpus. Fix this by only requesting a local clock