From: Alexander Graf Date: Wed, 18 Jun 2014 12:53:49 +0000 (+0200) Subject: KVM: PPC: Separate loadstore emulation from priv emulation X-Git-Tag: omap-for-v3.17/fixes-against-rc2~130^2~10^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d69614a295aef72f8fb22da8e3ccf1a8f19a7ffc;p=pandora-kernel.git 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: Alexander Graf --- Reading git-diff-tree failed