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
events
xen-pciback
xenbus
xenfs
Kconfig -rw-r--r-- 8.0 KB
Makefile -rw-r--r-- 1.4 KB
acpi.c -rw-r--r-- 2.7 KB
balloon.c -rw-r--r-- 17.5 KB
biomerge.c -rw-r--r-- 451 bytes
cpu_hotplug.c -rw-r--r-- 2.1 KB
dbgp.c -rw-r--r-- 1.1 KB
evtchn.c -rw-r--r-- 13.6 KB
fallback.c -rw-r--r-- 1.5 KB
features.c -rw-r--r-- 762 bytes
gntalloc.c -rw-r--r-- 15.4 KB
gntdev.c -rw-r--r-- 21.0 KB
grant-table.c -rw-r--r-- 35.3 KB
manage.c -rw-r--r-- 6.7 KB
mcelog.c -rw-r--r-- 9.9 KB
pci.c -rw-r--r-- 5.6 KB
pcpu.c -rw-r--r-- 8.9 KB
platform-pci.c -rw-r--r-- 4.7 KB
privcmd.c -rw-r--r-- 14.0 KB
privcmd.h -rw-r--r-- 77 bytes
swiotlb-xen.c -rw-r--r-- 19.3 KB
sys-hypervisor.c -rw-r--r-- 9.5 KB
tmem.c -rw-r--r-- 10.6 KB
xen-acpi-cpuhotplug.c -rw-r--r-- 10.7 KB
xen-acpi-memhotplug.c -rw-r--r-- 11.8 KB
xen-acpi-pad.c -rw-r--r-- 4.4 KB
xen-acpi-processor.c -rw-r--r-- 16.8 KB
xen-balloon.c -rw-r--r-- 6.7 KB
xen-selfballoon.c -rw-r--r-- 17.7 KB
xen-stub.c -rw-r--r-- 2.8 KB

back to top