commit | b59d9d26becb8b32596f2eed6ce5a81d61f4f513 | [log] [tgz] |
---|---|---|
author | Alexander Graf <agraf@suse.de> | Thu Apr 24 13:10:33 2014 +0200 |
committer | Alexander Graf <agraf@suse.de> | Fri May 30 14:26:20 2014 +0200 |
tree | 119f57c9c339e3f04611e63033c552299420ddaa | |
parent | 1692aa3faa5dff40eaa8ba8fb58aad9a91cac640 [diff] |
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: Alexander Graf <agraf@suse.de>