From: Radim Krčmář Date: Tue, 11 Mar 2014 18:11:18 +0000 (+0100) Subject: KVM: SVM: fix cr8 intercept window X-Git-Tag: v3.2.56~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c885403b60fe0fadb3d11319007827617e5bdb0;p=pandora-kernel.git 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ář Reviewed-by: Marcelo Tosatti Signed-off-by: Paolo Bonzini Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed