diff options
author | Radim Krčmář <rkrcmar@redhat.com> | 2014-03-11 22:11:18 +0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-03-12 21:21:10 +0400 |
commit | 596f3142d2b7be307a1652d59e7b93adab918437 (patch) | |
tree | d48dead1f93b9766d14d4ccb9e0cb3b462ba9de4 /include/linux/kernfs.h | |
parent | 6cbde8253a8143ada18ec0d1711230747a7c1934 (diff) | |
download | linux-596f3142d2b7be307a1652d59e7b93adab918437.tar.xz |
KVM: SVM: fix cr8 intercept window
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>
Diffstat (limited to 'include/linux/kernfs.h')
0 files changed, 0 insertions, 0 deletions