• Alexander Graf's avatar
    KVM: PPC: PV mtmsrd L=0 and mtmsr · 78109277
    Alexander Graf authored
    There is also a form of mtmsr where all bits need to be addressed. While the
    PPC64 Linux kernel behaves resonably well here, on PPC32 we do not have an
    L=1 form. It does mtmsr even for simple things like only changing EE.
    
    So we need to hook into that one as well and check for a mask of bits that we
    deem safe to change from within guest context.
    Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
    Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
    78109277
kvm.c 11.1 KB