Skip to content

kvmclock fixes

Glauber Costa kvm 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 7 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4kvmclock: release time_page if msr is rewrittenarch/x86/kvm/x86.c+3 -01 reply
2/4cacheline-align kvmclock structuresarch/x86/kernel/kvmclock.c+1 -11 reply
3/4kvmclock: allow it to be turned offarch/x86/kvm/x86.c+5 -04 replies
4/4cleanup leftoversarch/x86/kernel/kvmclock.c+0 -31 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] kvmclock fixes

Hi,

With this series, I'm introducing the ability to turn off the kvmclock. It is done by writting any thing to the first three bits of the address passed as a parameter to the msr.

For that to work properly, we should make absolutely sure the guest is aligned. If we really care about compatibility here, we can set the KVM_CAP_CLOCKSOURCE to 0, and define a new feature flag to mean that the clock data structures should be aligned. However, as the guest part has not yet made its way to linus, we're in a privileged position of having no users other than the experimental users, and can change it withouth bothering so much.

/* Comments? */

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/