KVM: VMX: Atomically switch efer if EPT && !EFER.NX
authorAvi Kivity <avi@redhat.com>
Wed, 28 Apr 2010 13:42:29 +0000 (16:42 +0300)
committerAvi Kivity <avi@redhat.com>
Wed, 19 May 2010 08:36:32 +0000 (11:36 +0300)
When EPT is enabled, we cannot emulate EFER.NX=0 through the shadow page
tables.  This causes accesses through ptes with bit 63 set to succeed instead
of failing a reserved bit check.

Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found