On Thu, Jan 07, 2016 at 09:27:30AM -0800, Andy Lutomirski wrote: > On Thu, Jan 7, 2016 at 2:56 AM, Marcelo Tosatti <mtosatti@xxxxxxxxxx> wrote: > > On Wed, Jan 06, 2016 at 11:18:51PM -0800, Andy Lutomirski wrote: > >> AFAICT KVM reliably passes a monotonic TSC through to guests, > > > > It does not. > > Under what circumstances does it go backwards? All hosts support tsc > offsets, I think, and the host code knows how to prevent the clock > from going backwards even on host suspend. > > Does migration make the TSC go backwards? If so, that's impolite and > it would be nice to fix it. TSC clocksource in the host is required for TSC masterclock scheme. A change from TSC clocksource to a different clocksource, in the host, invalidates TSC masterclock scheme. If you change from TSC clocksource to HPET clocksource, for example, TSC masterclock scheme stops functioning and its necessary to stop exposing PVCLOCK_TSC_STABLE_CLOCK. Please send a fix, your patch is causing breakage. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html