diff options
author | David Matlack <dmatlack@google.com> | 2021-05-06 15:24:43 +0000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-05-07 06:06:22 -0400 |
commit | 258785ef08b323bddd844b4926a32c2b2045a1b0 (patch) | |
tree | e5d433f41dd7d413f054c04b3c429c423a399235 /drivers | |
parent | b26990987ffce0525abbd84b36595869cfdbbfe6 (diff) | |
download | linux-258785ef08b323bddd844b4926a32c2b2045a1b0.tar.bz2 |
kvm: Cap halt polling at kvm->max_halt_poll_ns
When growing halt-polling, there is no check that the poll time exceeds
the per-VM limit. It's possible for vcpu->halt_poll_ns to grow past
kvm->max_halt_poll_ns and stay there until a halt which takes longer
than kvm->halt_poll_ns.
Signed-off-by: David Matlack <dmatlack@google.com>
Signed-off-by: Venkatesh Srinivas <venkateshs@chromium.org>
Message-Id: <20210506152442.4010298-1-venkateshs@chromium.org>
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions