Skip to content
Commit f6e16d5a authored by Gerd Hoffmann's avatar Gerd Hoffmann Committed by Avi Kivity
Browse files

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: default avatarGerd Hoffmann <kraxel@redhat.com>
Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent 50d0a0f9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment