Revision 313f636d5c490c9741d3f750dc8da33029edbc6b authored by David Matlack on 09 March 2016, 00:19:44 UTC, committed by Paolo Bonzini on 09 March 2016, 10:54:14 UTC
When growing halt-polling, there is no check that the poll time exceeds the limit. It's possible for vcpu->halt_poll_ns grow once past halt_poll_ns, and stay there until a halt which takes longer than vcpu->halt_poll_ns. For example, booting a Linux guest with halt_poll_ns=11000: ... kvm:kvm_halt_poll_ns: vcpu 0: halt_poll_ns 0 (shrink 10000) ... kvm:kvm_halt_poll_ns: vcpu 0: halt_poll_ns 10000 (grow 0) ... kvm:kvm_halt_poll_ns: vcpu 0: halt_poll_ns 20000 (grow 10000) Signed-off-by: David Matlack <dmatlack@google.com> Fixes: aca6ff29c4063a8d467cdee241e6b3bf7dc4a171 Cc: stable@vger.kernel.org Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
1 parent 9522b37
File | Mode | Size |
---|---|---|
adi | ||
amd | ||
atmel | ||
au1x | ||
bcm | ||
blackfin | ||
cirrus | ||
codecs | ||
davinci | ||
dwc | ||
fsl | ||
generic | ||
img | ||
intel | ||
jz4740 | ||
kirkwood | ||
mediatek | ||
mxs | ||
nuc900 | ||
omap | ||
pxa | ||
qcom | ||
rockchip | ||
samsung | ||
sh | ||
sirf | ||
spear | ||
sti | ||
sunxi | ||
tegra | ||
txx9 | ||
ux500 | ||
xtensa | ||
zte | ||
Kconfig | -rw-r--r-- | 2.0 KB |
Makefile | -rw-r--r-- | 1.5 KB |
soc-ac97.c | -rw-r--r-- | 10.6 KB |
soc-cache.c | -rw-r--r-- | 1.3 KB |
soc-compress.c | -rw-r--r-- | 20.6 KB |
soc-core.c | -rw-r--r-- | 99.2 KB |
soc-dapm.c | -rw-r--r-- | 106.6 KB |
soc-devres.c | -rw-r--r-- | 3.9 KB |
soc-generic-dmaengine-pcm.c | -rw-r--r-- | 13.1 KB |
soc-io.c | -rw-r--r-- | 7.3 KB |
soc-jack.c | -rw-r--r-- | 11.1 KB |
soc-ops.c | -rw-r--r-- | 25.6 KB |
soc-pcm.c | -rw-r--r-- | 82.4 KB |
soc-topology.c | -rw-r--r-- | 48.0 KB |
soc-utils.c | -rw-r--r-- | 4.7 KB |
Computing file changes ...