commit | 0293615f3fb9886b6b23800c121be293bb7483e9 | [log] [tgz] |
---|---|---|
author | Glauber Costa <gcosta@redhat.com> | Mon Jul 28 11:47:53 2008 -0300 |
committer | Avi Kivity <avi@qumranet.com> | Wed Oct 15 10:15:17 2008 +0200 |
tree | e0a4b16ef0af05fb6b0ca90adc1c9b2f9ba067e7 | |
parent | 3807f345b2c610336c17c7624a0d496a38df75a0 [diff] |
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>