Re: What's kvmclock's custom sched_clock for?

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

 



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.

> even if the host suspends. That's all that sched_clock needs, I think.
>
> So why does kvmclock have a custom sched_clock?

Migration between hosts with different TSC frequencies.

> On a related note, KVM doesn't pass the "invariant TSC" feature
> through to guests on my machine even though "invtsc" is set in QEMU
> and the kernel host code appears to support it.  What gives?
> 
> --Andy
--
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