target-i386: Don't forbid NX bit on PAE PDEs and PTEs
commit72c9c9a05e79d4638bb248bc1cc903839b8f676f
authorWilliam Grant <wgrant@ubuntu.com>
Sun, 24 Aug 2014 05:13:48 +0000 (24 15:13 +1000)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 10 Sep 2014 14:30:57 +0000 (10 09:30 -0500)
treea4d46672b2a8b50f63620cb4af0408070b7362fd
parent3d8cc86e4f3e1c8fb52a5f7132bf343e3d3b7775
target-i386: Don't forbid NX bit on PAE PDEs and PTEs

Commit e8f6d00c30ed88910d0d985f4b2bf41654172ceb ("target-i386: raise
page fault for reserved physical address bits") added a check that the
NX bit is not set on PAE PDPEs, but it also added it to rsvd_mask for
the rest of the function. This caused any PDEs or PTEs with NX set to be
erroneously rejected, making PAE guests with NX support unusable.

Signed-off-by: William Grant <wgrant@ubuntu.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 1844e68ecabbdfdf0228774bcd5cf0f63ffc2e57)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
target-i386/helper.c