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 |
---|---|---|
amcc | ||
caam | ||
ccp | ||
marvell | ||
nx | ||
qat | ||
qce | ||
rockchip | ||
sunxi-ss | ||
ux500 | ||
vmx | ||
Kconfig | -rw-r--r-- | 15.1 KB |
Makefile | -rw-r--r-- | 1.4 KB |
atmel-aes-regs.h | -rw-r--r-- | 2.3 KB |
atmel-aes.c | -rw-r--r-- | 51.2 KB |
atmel-sha-regs.h | -rw-r--r-- | 1.4 KB |
atmel-sha.c | -rw-r--r-- | 36.2 KB |
atmel-tdes-regs.h | -rw-r--r-- | 2.6 KB |
atmel-tdes.c | -rw-r--r-- | 37.7 KB |
bfin_crc.c | -rw-r--r-- | 18.6 KB |
bfin_crc.h | -rw-r--r-- | 3.8 KB |
geode-aes.c | -rw-r--r-- | 13.5 KB |
geode-aes.h | -rw-r--r-- | 1.5 KB |
hifn_795x.c | -rw-r--r-- | 74.9 KB |
img-hash.c | -rw-r--r-- | 24.9 KB |
ixp4xx_crypto.c | -rw-r--r-- | 36.5 KB |
mv_cesa.c | -rw-r--r-- | 29.4 KB |
mv_cesa.h | -rw-r--r-- | 3.9 KB |
mxs-dcp.c | -rw-r--r-- | 26.5 KB |
n2_asm.S | -rw-r--r-- | 1.7 KB |
n2_core.c | -rw-r--r-- | 51.5 KB |
n2_core.h | -rw-r--r-- | 6.1 KB |
omap-aes.c | -rw-r--r-- | 30.7 KB |
omap-des.c | -rw-r--r-- | 28.6 KB |
omap-sham.c | -rw-r--r-- | 50.7 KB |
padlock-aes.c | -rw-r--r-- | 15.0 KB |
padlock-sha.c | -rw-r--r-- | 15.9 KB |
picoxcell_crypto.c | -rw-r--r-- | 51.0 KB |
picoxcell_crypto_regs.h | -rw-r--r-- | 5.1 KB |
s5p-sss.c | -rw-r--r-- | 19.4 KB |
sahara.c | -rw-r--r-- | 41.1 KB |
talitos.c | -rw-r--r-- | 87.1 KB |
talitos.h | -rw-r--r-- | 15.3 KB |
Computing file changes ...