From: Glauber de Oliveira Costa Date: Fri, 15 Feb 2008 19:52:47 +0000 (-0200) Subject: KVM: paravirtualized clocksource: host part X-Git-Tag: v2.6.26-rc1~1028^2~115 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18068523d3a0b41fcee5b53cdb437a0ab4d65e4b;p=pandora-kernel.git KVM: paravirtualized clocksource: host part This is the host part of kvm clocksource implementation. As it does not include clockevents, it is a fairly simple implementation. We only have to register a per-vcpu area, and start writing to it periodically. The area is binary compatible with xen, as we use the same shadow_info structure. [marcelo: fix bad_page on MSR_KVM_SYSTEM_TIME] [avi: save full value of the msr, even if enable bit is clear] [avi: clear previous value of time_page] Signed-off-by: Glauber de Oliveira Costa Signed-off-by: Marcelo Tosatti Signed-off-by: Avi Kivity --- Reading git-diff-tree failed