• Alexander Graf's avatar
    KVM: PPC: Add sanity checking to vcpu_run · af8f38b3
    Alexander Graf authored
    There are multiple features in PowerPC KVM that can now be enabled
    depending on the user's wishes. Some of the combinations don't make
    sense or don't work though.
    
    So this patch adds a way to check if the executing environment would
    actually be able to run the guest properly. It also adds sanity
    checks if PVR is set (should always be true given the current code
    flow), if PAPR is only used with book3s_64 where it works and that
    HV KVM is only used in PAPR mode.
    Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
    af8f38b3
book3s_pr.c 27.5 KB