• A
    KVM: PPC: Add sanity checking to vcpu_run · af8f38b3
    Alexander Graf 提交于
    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: NAlexander Graf <agraf@suse.de>
    af8f38b3
44x.c 4.1 KB