diff options
author | Wanpeng Li <[email protected]> | 2019-05-20 16:18:06 +0800 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2019-05-24 21:27:09 +0200 |
commit | 0e6edceb8f18a4e31526d83e6099fef1f29c3af5 (patch) | |
tree | f046ec5cf221afeecbdc45647d38550d198a1dc0 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 4d259965655c92053f3255aca14d81aab1e21219 (diff) |
KVM: LAPIC: Fix lapic_timer_advance_ns parameter overflow
After commit c3941d9e0 (KVM: lapic: Allow user to disable adaptive tuning of
timer advancement), '-1' enables adaptive tuning starting from default
advancment of 1000ns. However, we should expose an int instead of an overflow
uint module parameter.
Before patch:
/sys/module/kvm/parameters/lapic_timer_advance_ns:4294967295
After patch:
/sys/module/kvm/parameters/lapic_timer_advance_ns:-1
Fixes: c3941d9e0 (KVM: lapic: Allow user to disable adaptive tuning of timer advancement)
Cc: Paolo Bonzini <[email protected]>
Cc: Radim Krčmář <[email protected]>
Cc: Sean Christopherson <[email protected]>
Cc: Liran Alon <[email protected]>
Reviewed-by: Sean Christopherson <[email protected]>
Signed-off-by: Wanpeng Li <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions