KVM: VMX: When using ept, allow the guest to own cr4.pge
authorAvi Kivity <avi@redhat.com>
Mon, 7 Dec 2009 10:29:14 +0000 (12:29 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 1 Mar 2010 15:35:39 +0000 (12:35 -0300)
commitce03e4f21a33b97c5d20ce597f64c361bb247904
tree156623c2acf64f160855ce24cdd9cc5106a4ce21
parent4c38609ac569483152f9cb7e5a66f17355e563b2
KVM: VMX: When using ept, allow the guest to own cr4.pge

We make no use of cr4.pge if ept is enabled, but the guest does (to flush
global mappings, as with vmap()), so give the guest ownership of this bit.

Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/vmx.c