From: Glauber Costa Date: Mon, 28 Jul 2008 14:47:53 +0000 (-0300) Subject: x86: KVM guest: use paravirt function to calculate cpu khz X-Git-Tag: v2.6.28-rc1~269^2~100 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0293615f3fb9886b6b23800c121be293bb7483e9;p=pandora-kernel.git 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 Signed-off-by: Avi Kivity --- Reading git-diff-tree failed