KVM: ppc: split out common Book E instruction emulation
commitd0c7dc03442f7cbd8740d9a4e7a4e7f84bfa676d
authorHollis Blanchard <hollisb@us.ibm.com>
Sat, 3 Jan 2009 22:23:06 +0000 (3 16:23 -0600)
committerAvi Kivity <avi@redhat.com>
Tue, 24 Mar 2009 09:02:57 +0000 (24 11:02 +0200)
tree8f0aa28d4734fc20249239b4736ac437a19c3937
parentcea5d8c9de669e30ed6d60930318376d5cc42e9e
KVM: ppc: split out common Book E instruction emulation

The Book E code will be shared with e500.

I've left PID in kvmppc_core_emulate_op() just so that we don't need to move
kvmppc_set_pid() right now. Once we have the e500 implementation, we can
probably share that too.

Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/44x_emulate.c
arch/powerpc/kvm/Makefile
arch/powerpc/kvm/booke.h
arch/powerpc/kvm/booke_emulate.c [copied from arch/powerpc/kvm/44x_emulate.c with 63% similarity]