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

KVM: PPC: Graciously fail broken LE hypercalls



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>
parent 235959be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment