summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorGlauber Costa <gcosta@redhat.com>2008-07-28 16:47:53 +0200
committerAvi Kivity <avi@qumranet.com>2008-10-15 10:15:17 +0200
commit0293615f3fb9886b6b23800c121be293bb7483e9 (patch)
treee0a4b16ef0af05fb6b0ca90adc1c9b2f9ba067e7 /virt
parentx86: paravirt: factor out cpu_khz to common code (diff)
downloadlinux-0293615f3fb9886b6b23800c121be293bb7483e9.tar.xz
linux-0293615f3fb9886b6b23800c121be293bb7483e9.zip
x86: KVM guest: use paravirt function to calculate cpu khz
We're currently facing timing problems in guests that do calibration under heavy load, and then the load vanishes. This means we'll have a much lower lpj than we actually should, and delays end up taking less time than they should, which is a nasty bug. Solution is to pass on the lpj value from host to guest, and have it preset. Signed-off-by: Glauber Costa <gcosta@redhat.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions