target-i386: Don't forbid NX bit on PAE PDEs and PTEs
commit1844e68ecabbdfdf0228774bcd5cf0f63ffc2e57
authorWilliam Grant <wgrant@ubuntu.com>
Sun, 24 Aug 2014 05:13:48 +0000 (24 15:13 +1000)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 25 Aug 2014 16:53:42 +0000 (25 18:53 +0200)
treef72eb352cf25eb7ff4bfe5312e28a547c98cb3e7
parent3431648272d317ed768fe46183c7a1cea4803732
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>
target-i386/helper.c