Re: [PATCH v2] KVM: x86: update masterclock values on TSC writes

2014-11-05 Thread Paolo Bonzini
On 05/11/2014 00:30, Marcelo Tosatti wrote: + /* + * If the vcpus have matched TSCs and host clocksource is TSC, + * perform request to enable masterclock. + * + * If the masterclock is enabled, perform request to update + * masterclock values. + */ +

Re: [PATCH v2] KVM: x86: update masterclock values on TSC writes

2014-11-05 Thread Marcelo Tosatti
On Wed, Nov 05, 2014 at 10:36:05AM +0100, Paolo Bonzini wrote: On 05/11/2014 00:30, Marcelo Tosatti wrote: + /* +* If the vcpus have matched TSCs and host clocksource is TSC, +* perform request to enable masterclock. +* +* If the masterclock is enabled, perform request

Re: [PATCH v2] KVM: x86: update masterclock values on TSC writes

2014-11-05 Thread Paolo Bonzini
On 05/11/2014 20:47, Paolo Bonzini wrote: On 05/11/2014 19:19, Marcelo Tosatti wrote: + * If the vcpus have matched TSCs and host clocksource is TSC, + * perform request to enable masterclock. + * + * If the masterclock is enabled, perform request to

Re: [PATCH v2] KVM: x86: update masterclock values on TSC writes

2014-11-05 Thread Paolo Bonzini
On 05/11/2014 19:19, Marcelo Tosatti wrote: +* If the vcpus have matched TSCs and host clocksource is TSC, +* perform request to enable masterclock. +* +* If the masterclock is enabled, perform request to update +* masterclock values. +

Re: [PATCH v2] KVM: x86: update masterclock values on TSC writes

2014-11-05 Thread Marcelo Tosatti
On Wed, Nov 05, 2014 at 08:49:38PM +0100, Paolo Bonzini wrote: On 05/11/2014 20:47, Paolo Bonzini wrote: On 05/11/2014 19:19, Marcelo Tosatti wrote: + * If the vcpus have matched TSCs and host clocksource is TSC, + * perform request to enable masterclock. + *