Revision 596f3142d2b7be307a1652d59e7b93adab918437 authored by Radim Krčmář on 11 March 2014, 18:11:18 UTC, committed by Paolo Bonzini on 12 March 2014, 17:21:10 UTC
We always disable cr8 intercept in its handler, but only re-enable it
if handling KVM_REQ_EVENT, so there can be a window where we do not
intercept cr8 writes, which allows an interrupt to disrupt a higher
priority task.

Fix this by disabling intercepts in the same function that re-enables
them when needed. This fixes BSOD in Windows 2008.

Cc: <stable@vger.kernel.org>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Reviewed-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
1 parent 6cbde82
History
File Mode Size
Kconfig -rw-r--r-- 1016 bytes
Makefile -rw-r--r-- 1.2 KB
exynos-combiner.c -rw-r--r-- 5.7 KB
irq-armada-370-xp.c -rw-r--r-- 11.8 KB
irq-bcm2835.c -rw-r--r-- 6.6 KB
irq-dw-apb-ictl.c -rw-r--r-- 3.9 KB
irq-gic.c -rw-r--r-- 25.9 KB
irq-imgpdc.c -rw-r--r-- 13.4 KB
irq-metag-ext.c -rw-r--r-- 24.7 KB
irq-metag.c -rw-r--r-- 9.3 KB
irq-mmp.c -rw-r--r-- 13.4 KB
irq-moxart.c -rw-r--r-- 2.9 KB
irq-mxs.c -rw-r--r-- 3.3 KB
irq-nvic.c -rw-r--r-- 3.0 KB
irq-orion.c -rw-r--r-- 5.3 KB
irq-renesas-intc-irqpin.c -rw-r--r-- 15.0 KB
irq-renesas-irqc.c -rw-r--r-- 7.4 KB
irq-s3c24xx.c -rw-r--r-- 42.0 KB
irq-sirfsoc.c -rw-r--r-- 3.5 KB
irq-sun4i.c -rw-r--r-- 4.1 KB
irq-tb10x.c -rw-r--r-- 5.5 KB
irq-versatile-fpga.c -rw-r--r-- 5.3 KB
irq-vic.c -rw-r--r-- 12.9 KB
irq-vt8500.c -rw-r--r-- 6.6 KB
irq-xtensa-mx.c -rw-r--r-- 4.1 KB
irq-xtensa-pic.c -rw-r--r-- 2.7 KB
irq-zevio.c -rw-r--r-- 3.4 KB
irqchip.c -rw-r--r-- 802 bytes
irqchip.h -rw-r--r-- 878 bytes
spear-shirq.c -rw-r--r-- 7.5 KB

back to top