summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/kvmclock.c
diff options
context:
space:
mode:
authorGlauber de Oliveira Costa2008-02-15 20:52:47 +0100
committerAvi Kivity2008-04-27 10:53:22 +0200
commit18068523d3a0b41fcee5b53cdb437a0ab4d65e4b (patch)
treecbedbd4371cb57c34728137988a7433ae736d79a /arch/x86/kernel/kvmclock.c
parentKVM: SVM: enable LBR virtualization (diff)
downloadkernel-qcow2-linux-18068523d3a0b41fcee5b53cdb437a0ab4d65e4b.tar.gz
kernel-qcow2-linux-18068523d3a0b41fcee5b53cdb437a0ab4d65e4b.tar.xz
kernel-qcow2-linux-18068523d3a0b41fcee5b53cdb437a0ab4d65e4b.zip
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 <gcosta@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'arch/x86/kernel/kvmclock.c')
0 files changed, 0 insertions, 0 deletions