vmm: Mask NX / unused bits in guest page walks
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 22 Dec 2017 17:02:18 +0000 (12:02 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 22 Dec 2017 17:02:18 +0000 (12:02 -0500)
commitcf722859a2f16065226ed8714165c035bf908c65
tree1b30b44071e3eab84bc24535eeabb1fb12f75e4f
parent8c8c78ef9adf647ecffe620e6c4532db2f5e5aa4
vmm: Mask NX / unused bits in guest page walks

The guest can (and does) set the NX bit.  Similarly, bits 62:52 are ignored
and could be used in the future.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
user/vmm/vmx.c