KVM: PPC: Make use of hash based Shadow MMU
authorAlexander Graf <agraf@suse.de>
Wed, 30 Jun 2010 13:18:46 +0000 (15:18 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:47:28 +0000 (10:47 +0300)
commitfef093bec0364ff5e6fd488cd81637f6bb3a2d0d
treee61c2f462a5b68d440d3960af41e3f17ea7f765f
parent7741909bf19d9437a6aa3559c0470a640f637dce
KVM: PPC: Make use of hash based Shadow MMU

We just introduced generic functions to handle shadow pages on PPC.
This patch makes the respective backends make use of them, getting
rid of a lot of duplicate code along the way.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/powerpc/include/asm/kvm_book3s.h
arch/powerpc/include/asm/kvm_host.h
arch/powerpc/kvm/Makefile
arch/powerpc/kvm/book3s.c
arch/powerpc/kvm/book3s_32_mmu_host.c
arch/powerpc/kvm/book3s_64_mmu_host.c