Skip to content

KVM clock, new iteration

Glauber de Oliveira Costa kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3put kvm_para.h include outside __KERNEL__include/linux/kvm_para.h+1 -11 reply
2/3kvmclock - the host part.arch/x86/kvm/x86.c include/asm-x86/kvm_host.h include/asm-x86/kvm_para.h +1 more+74 -14 replies
3/3kvmclock implementation, the guest part.arch/x86/Kconfig arch/x86/kernel/Makefile_32 arch/x86/kernel/kvmclock.c +2 more+179 -32 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchAmit Shah
1/3A-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] KVM clock, new iteration

Hi folks,

A lot of time has been elapsed since I last sent a version of kvm clock, with a lot of things in the middle, including my vacations and a nasty bug in the clock itself ;-)

Here it is a new version. I'm following avi's last suggestion of using an msr to make it more migration-proof. If it's not approved, we can easily switch back to the hypercall mechanism. That's the easy part ;-)

Clock updates are done every time we're scheduled. It is _not_ enough to check if we're changing cpus, because the tsc will change its frequency when the cpu is idle (if using the mwait idle). So after a long idle period, one cpu will end up stepping ahead causing a backward time (remember the bug I talked about? :-) )

As I fell it ready for inclusion (which obviously does not mean it is perfect, nor that I don't value any further comments ), I'm also posting the userspace patches in a separate series that will follow shortly.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace