• A
    KVM: PPC: Implement mtsr instruction emulation · 71db4089
    Alexander Graf 提交于
    The Book3S_32 specifications allows for two instructions to modify segment
    registers: mtsrin and mtsr.
    
    Most normal operating systems use mtsrin, because it allows to define which
    segment it wants to change using a register. But since I was trying to run
    an embedded guest, it turned out to be using mtsr with hardcoded values.
    
    So let's also emulate mtsr. It's a valid instruction after all.
    Signed-off-by: NAlexander Graf <agraf@suse.de>
    Signed-off-by: NAvi Kivity <avi@redhat.com>
    71db4089
book3s_64_emulate.c 10.1 KB