KVM: ppc: support large host pages
authorHollis Blanchard <hollisb@us.ibm.com>
Tue, 2 Dec 2008 21:51:53 +0000 (15:51 -0600)
committerAvi Kivity <avi@redhat.com>
Wed, 31 Dec 2008 14:55:07 +0000 (16:55 +0200)
commit891686188f69d330f7eeeec8e6642ccfb7453106
tree39349d7383b3cf1fe0fda983d8c4f0d86a6dc2bc
parent4a643be8c9b8d3c1ae8f5ccd377daaa85bd57e0c
KVM: ppc: support large host pages

KVM on 440 has always been able to handle large guest mappings with 4K host
pages -- we must, since the guest kernel uses 256MB mappings.

This patch makes KVM work when the host has large pages too (tested with 64K).

Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/include/asm/kvm_ppc.h
arch/powerpc/kvm/44x_tlb.c
arch/powerpc/kvm/booke.c