target-i386: Allow execute from user mode when SMEP is enabled.
commitb4bda1ae57a20a7ce7cb0077946fc33d6d6fd6c5
authorRicky Zhou <ricky@rzhou.org>
Mon, 14 Jul 2014 20:54:47 +0000 (14 13:54 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 15 Jul 2014 16:43:14 +0000 (15 18:43 +0200)
treee9806cae9b6ea9d379f5297e41e0d7451965908a
parent146ae00192ffcbd78f6b11fa78c72d1b3d628d8a
target-i386: Allow execute from user mode when SMEP is enabled.

Previously, execute would be disabled for all pages with SMEP enabled,
regardless of what mode the access took place in.

Signed-off-by: Ricky Zhou <ricky@rzhou.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target-i386/helper.c