diff options
author | Alexander Graf <agraf@suse.de> | 2014-05-12 01:08:32 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-05-30 14:26:24 +0200 |
commit | f3383cf80e417e86fcc84a2eb4c96bc52842d8d9 (patch) | |
tree | 69cde42c1f516992ef2e6db665d1098ee0eac951 /arch/powerpc/include/asm/mpic_timer.h | |
parent | 1f365bb0de12da4a9ef8e56ffba2218d9a026011 (diff) |
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: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/include/asm/mpic_timer.h')
0 files changed, 0 insertions, 0 deletions