• Alexander Graf's avatar
    KVM: PPC: Disable NX for old magic page using guests · f3383cf8
    Alexander Graf authored
    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>
    f3383cf8
powerpc.c 26.5 KB