diff options
author | Radim Krčmář <rkrcmar@redhat.com> | 2014-03-11 19:11:18 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-23 21:44:16 -0700 |
commit | ccec079c02f3a264647d7c17faebb551071d727f (patch) | |
tree | 2a946cd68035d0470f74b402a28a6d2220086888 /arch/powerpc/perf | |
parent | 9fe28cdec6fecfd8c8b69f068dc20c3f8439d275 (diff) |
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/powerpc/perf')
0 files changed, 0 insertions, 0 deletions