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)
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>

No differences found