diff options
author | Glauber Costa <gcosta@redhat.com> | 2008-07-28 11:47:53 -0300 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-10-15 10:15:17 +0200 |
commit | 0293615f3fb9886b6b23800c121be293bb7483e9 (patch) | |
tree | e0a4b16ef0af05fb6b0ca90adc1c9b2f9ba067e7 /virt | |
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>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions