]> git.baikalelectronics.ru Git - kernel.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)
commit93a323bfffaf73ccdb675fba72877bffcf8630ce
tree3d6b146538b11e45a713bb4fa1b44af4509ca27f
parentbcacc461777d6d6600a6c7d18a4370a0e7895cde
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