From: Gerd Hoffmann Date: Tue, 3 Jun 2008 14:17:32 +0000 (+0200) Subject: x86: KVM guest: Use the paravirt clocksource structs and functions X-Git-Tag: v2.6.26-rc8~3^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6e16d5ad463d15f285666f588cfe49495c692d9;p=pandora-kernel.git x86: KVM guest: Use the paravirt clocksource structs and functions This patch updates the kvm host code to use the pvclock structs and functions, thereby making it compatible with Xen. The patch also fixes an initialization bug: on SMP systems the per-cpu has two different locations early at boot and after CPU bringup. kvmclock must take that in account when registering the physical address within the host. Signed-off-by: Gerd Hoffmann Signed-off-by: Avi Kivity --- Reading git-diff-tree failed