Skip to content
Commit b59d9d26 authored by Alexander Graf's avatar Alexander Graf
Browse files

KVM: PPC: Book3S PR: PAPR: Access RTAS in big endian



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: default avatarAlexander Graf <agraf@suse.de>
parent 1692aa3f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment