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

KVM: PPC: Implement kvmppc_xlate for all targets



We have a nice API to find the translated GPAs of a GVA including protection
flags. So far we only use it on Book3S, but there's no reason the same shouldn't
be used on BookE as well.

Implement a kvmppc_xlate() version for BookE and clean it up to make it more
readable in general.

Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent 63fff5c1
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