Skip to content
Commit 3fdf0e6e authored by Sean Christopherson's avatar Sean Christopherson Committed by Paolo Bonzini
Browse files

nSVM: Clear guest's EFER.NX in NPT NX test



Clear the guest's EFER.NX when testing that KVM supports the NX bit in
nested NPT.  The guest's EFER (and CR0 and CR4) should not affect NPT
behavior in any way.

Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
Message-Id: <20210622210047.3691840-9-seanjc@google.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 9c0d7ac1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment