KVM: PPC: Move guest enter/exit down into subarch-specific code
authorPaul Mackerras <paulus@samba.org>
Wed, 29 Jun 2011 00:19:50 +0000 (00:19 +0000)
committerAvi Kivity <avi@redhat.com>
Tue, 12 Jul 2011 10:16:51 +0000 (13:16 +0300)
commitdf6909e5d52f67be01862c5cb453e509aee661f1
treeaab39c039a693e5381f922df4125aa7b72be681c
parentf9e0554deca54a42fb2cf7f68c05a4a37461c205
KVM: PPC: Move guest enter/exit down into subarch-specific code

Instead of doing the kvm_guest_enter/exit() and local_irq_dis/enable()
calls in powerpc.c, this moves them down into the subarch-specific
book3s_pr.c and booke.c.  This eliminates an extra local_irq_enable()
call in book3s_pr.c, and will be needed for when we do SMT4 guest
support in the book3s hypervisor mode code.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/include/asm/kvm_ppc.h
arch/powerpc/kvm/book3s_interrupts.S
arch/powerpc/kvm/book3s_pr.c
arch/powerpc/kvm/booke.c
arch/powerpc/kvm/powerpc.c