• A
    KVM: PPC: Book3S PR: PAPR: Access RTAS in big endian · b59d9d26
    Alexander Graf 提交于
    When the guest does an RTAS hypercall it keeps all RTAS variables inside a
    big endian data structure.
    
    To make sure we don't have to bother about endianness inside the actual RTAS
    handlers, let's just convert the whole structure to host endian before we
    call our RTAS handlers and back to big endian when we return to the guest.
    Signed-off-by: NAlexander Graf <agraf@suse.de>
    b59d9d26
book3s_rtas.c 6.1 KB