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

KVM: PPC: Separate loadstore emulation from priv emulation



Today the instruction emulator can get called via 2 separate code paths. It
can either be called by MMIO emulation detection code or by privileged
instruction traps.

This is bad, as both code paths prepare the environment differently. For MMIO
emulation we already know the virtual address we faulted on, so instructions
there don't have to actually fetch that information.

Split out the two separate use cases into separate files.

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