]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: Fix SMEP failure during fetch
authorYang, Wei Y <wei.y.yang@intel.com>
Tue, 9 Aug 2011 10:14:01 +0000 (18:14 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Sep 2011 16:18:02 +0000 (19:18 +0300)
commit15a0d03a6902ba1bc1474e891a26be57afd75a07
tree03cfc435d3d88e0546709bc69083f42cba7cd677
parentafc2330afedf033fea659ea2cac11df975933b11
KVM: MMU: Fix SMEP failure during fetch

This patch fix kvm-unit-tests hanging and incorrect PT_ACCESSED_MASK
bit set in the case of SMEP fault.  The code updated 'eperm' after
the variable was checked.

Signed-off-by: Yang, Wei <wei.y.yang@intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/paging_tmpl.h