Skip to content
Commit e286e86e authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: Make EFER reads safe when EFER does not exist



Some processors don't have EFER; don't oops if userspace wants us to
read EFER when we check NX.

Cc: stable@kernel.org
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 334b8ad7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment