• Alexander Graf's avatar
    KVM: PPC: Graciously fail broken LE hypercalls · 42188365
    Alexander Graf authored
    There are LE Linux guests out there that don't handle hypercalls correctly.
    Instead of interpreting the instruction stream from device tree as big endian
    they assume it's a little endian instruction stream and fail.
    
    When we see an illegal instruction from such a byte reversed instruction stream,
    bail out graciously and just declare every hcall as error.
    Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
    42188365
book3s_emulate.c 15.5 KB