Avi Kivity 8d87a03aea KVM: MMU: Set nx bit correctly on shadow ptes
While the page table walker correctly generates a guest page fault
if a guest tries to execute a non-executable page, the shadow code does
not mark it non-executable.  This means that if a guest accesses an nx
page first with a read access, then subsequent code fetch accesses will
succeed.

Fix by setting the nx bit on shadow ptes.

Signed-off-by: Avi Kivity <avi@qumranet.com>
2008-01-30 17:53:20 +02:00
..
2007-10-17 08:42:52 -07:00
2008-01-30 13:34:07 +01:00
2008-01-11 18:29:22 -06:00
2008-01-28 13:21:30 +00:00
2007-12-31 23:11:11 +00:00
2008-01-27 18:14:47 +01:00
2007-12-23 12:54:37 -08:00
2008-01-28 23:21:18 +01:00
2007-10-17 08:42:57 -07:00
2008-01-24 20:40:43 -08:00
2008-01-28 13:21:38 +00:00
2008-01-30 13:34:07 +01:00
2007-10-23 15:49:54 +10:00