diff options
author | Radim Krčmář <rkrcmar@redhat.com> | 2014-03-11 18:11:18 (GMT) |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-03-24 08:44:56 (GMT) |
commit | 8df3fd9ab9f107e78855bf52d48e1e99e5d931b3 (patch) | |
tree | 32007887723d4b9e6b37d1fc241b9883de2410e8 /drivers/pci/syscall.c | |
parent | 4abc1815f205b6d48c7ba628359fac64392ff45c (diff) | |
download | linux-fsl-qoriq-8df3fd9ab9f107e78855bf52d48e1e99e5d931b3.tar.xz |
KVM: SVM: fix cr8 intercept window
commit 596f3142d2b7be307a1652d59e7b93adab918437 upstream.
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.
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Reviewed-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'drivers/pci/syscall.c')
0 files changed, 0 insertions, 0 deletions