]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: KVM guest: paravirtualized clocksource
authorGlauber de Oliveira Costa <gcosta@redhat.com>
Fri, 15 Feb 2008 19:52:48 +0000 (17:52 -0200)
committerAvi Kivity <avi@qumranet.com>
Sun, 27 Apr 2008 08:53:22 +0000 (11:53 +0300)
commit790c73f6289a204f858ffdcbe4a2b38e91657ec6
tree3d6b146538b11e45a713bb4fa1b44af4509ca27f
parent18068523d3a0b41fcee5b53cdb437a0ab4d65e4b
x86: KVM guest: paravirtualized clocksource

This is the guest part of kvm clock implementation
It does not do tsc-only timing, as tsc can have deltas
between cpus, and it did not seem worthy to me to keep
adjusting them.

We do use it, however, for fine-grained adjustment.

Other than that, time comes from the host.

[randy dunlap: add missing include]
[randy dunlap: disallow on Voyager or Visual WS]

Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/Kconfig
arch/x86/kernel/Makefile
arch/x86/kernel/kvmclock.c [new file with mode: 0644]
arch/x86/kernel/setup_32.c
arch/x86/kernel/setup_64.c