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 |
---|---|---|
Kconfig | -rw-r--r-- | 9.2 KB |
Makefile | -rw-r--r-- | 1.1 KB |
amd_iommu.c | -rw-r--r-- | 93.9 KB |
amd_iommu_init.c | -rw-r--r-- | 57.0 KB |
amd_iommu_proto.h | -rw-r--r-- | 3.4 KB |
amd_iommu_types.h | -rw-r--r-- | 19.0 KB |
amd_iommu_v2.c | -rw-r--r-- | 22.0 KB |
arm-smmu-v3.c | -rw-r--r-- | 69.0 KB |
arm-smmu.c | -rw-r--r-- | 50.0 KB |
dma-iommu.c | -rw-r--r-- | 14.8 KB |
dmar.c | -rw-r--r-- | 49.2 KB |
exynos-iommu.c | -rw-r--r-- | 32.1 KB |
fsl_pamu.c | -rw-r--r-- | 33.5 KB |
fsl_pamu.h | -rw-r--r-- | 13.3 KB |
fsl_pamu_domain.c | -rw-r--r-- | 27.5 KB |
fsl_pamu_domain.h | -rw-r--r-- | 2.6 KB |
intel-iommu.c | -rw-r--r-- | 131.1 KB |
intel-svm.c | -rw-r--r-- | 17.6 KB |
intel_irq_remapping.c | -rw-r--r-- | 35.8 KB |
io-pgtable-arm.c | -rw-r--r-- | 27.8 KB |
io-pgtable.c | -rw-r--r-- | 2.0 KB |
io-pgtable.h | -rw-r--r-- | 4.8 KB |
iommu-sysfs.c | -rw-r--r-- | 3.0 KB |
iommu-traces.c | -rw-r--r-- | 633 bytes |
iommu.c | -rw-r--r-- | 40.1 KB |
iova.c | -rw-r--r-- | 14.2 KB |
ipmmu-vmsa.c | -rw-r--r-- | 21.9 KB |
irq_remapping.c | -rw-r--r-- | 4.2 KB |
irq_remapping.h | -rw-r--r-- | 2.2 KB |
msm_iommu.c | -rw-r--r-- | 17.1 KB |
msm_iommu.h | -rw-r--r-- | 3.8 KB |
msm_iommu_dev.c | -rw-r--r-- | 8.2 KB |
msm_iommu_hw-8xxx.h | -rw-r--r-- | 74.0 KB |
of_iommu.c | -rw-r--r-- | 4.8 KB |
omap-iommu-debug.c | -rw-r--r-- | 6.4 KB |
omap-iommu.c | -rw-r--r-- | 29.5 KB |
omap-iommu.h | -rw-r--r-- | 6.0 KB |
omap-iopgtable.h | -rw-r--r-- | 2.8 KB |
rockchip-iommu.c | -rw-r--r-- | 28.1 KB |
s390-iommu.c | -rw-r--r-- | 8.8 KB |
tegra-gart.c | -rw-r--r-- | 12.0 KB |
tegra-smmu.c | -rw-r--r-- | 21.8 KB |
Computing file changes ...