Skip to content
Commit f3383cf8 authored by Alexander Graf's avatar Alexander Graf
Browse files

KVM: PPC: Disable NX for old magic page using guests



Old guests try to use the magic page, but map their trampoline code inside
of an NX region.

Since we can't fix those old kernels, try to detect whether the guest is sane
or not. If not, just disable NX functionality in KVM so that old guests at
least work at all. For newer guests, add a bit that we can set to keep NX
functionality available.

Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent 1f365bb0
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