aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorNir Weiner <[email protected]>2019-01-27 12:17:14 +0200
committerPaolo Bonzini <[email protected]>2019-02-20 22:48:50 +0100
commit7fa08e71b4a0591a518814fa78b32e124f90d587 (patch)
treef8b66306b476c5b6e833bceef8a0434bc9116652 /tools/perf/scripts/python/export-to-postgresql.py
parent8ab3c471eef20925bf64c6d4fa46e88cdb4e86d5 (diff)
KVM: grow_halt_poll_ns() should never shrink vCPU halt_poll_ns
grow_halt_poll_ns() have a strange behavior in case (halt_poll_ns_grow == 0) && (vcpu->halt_poll_ns != 0). In this case, vcpu->halt_pol_ns will be set to zero. That results in shrinking instead of growing. Fix issue by changing grow_halt_poll_ns() to not modify vcpu->halt_poll_ns in case halt_poll_ns_grow is zero Reviewed-by: Boris Ostrovsky <[email protected]> Reviewed-by: Liran Alon <[email protected]> Signed-off-by: Nir Weiner <[email protected]> Suggested-by: Liran Alon <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions