Re: [PATCH kvm-unit-tests] KVM: x86: add hyperv clock test case

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 28, 2016 at 04:53:31PM +0100, Paolo Bonzini wrote:
> I guess what we can do is to compute the TSC reference page parameters
> as soon as the master clock is activated, and use them instead of
> get_kernel_ns() to compute the reference count MSR (again if the master
> clock is activated).  But I'm now a bit wary to enable the hyper-v TSC
> reference page without knowing the effects of a divergence between the
> two mechanisms.  Especially if a migration could lead to a switch from
> one to the other and thus to the time going backwards.

IIUC Hyper-V treats the TSC reference page as an alternative an better
way to obtain that very same time reference counter.  So no, we may not
allow the two to diverge IMO.

Roman.
--
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



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux