KVM: PPC: e500: Eliminate shadow_pages[], and use pfns
Subsystems (2)
PATCH 7/13 KVM: PPC: e500: Eliminate shadow_pages[], and use pfns
This is in line with what other architectures do, and will allow us to map things other than ordinary, unreserved kernel pages -- such as dedicated devices, or large contiguous reserved regions.
Signed-off-by Scott Wood <[email protected]>
--- arch/powerpc/include/asm/kvm_e500.h | 2 - arch/powerpc/kvm/e500_tlb.c | 56 ++++++++++++----------------------- 2 files changed, 19 insertions(+), 39 deletions(-)
arch/powerpc/include/asm/kvm_e500.h +0 -2
@@ -34,8 +34,6 @@ struct kvmppc_vcpu_e500 {struct tlbe *guest_tlb[E500_TLB_NUM ];/* TLB that's actually used when the guest is running. */ struct tlbe *shadow_tlb[E500_TLB_NUM ]; -/* Pages which are referenced in the shadow TLB. */ -struct page **shadow_pages[E500_TLB_NUM ];unsigned int guest_tlb_size[E500_TLB_NUM ];unsigned int shadow_tlb_size[E500_TLB_NUM ];
arch/powerpc/kvm/e500_tlb.c +19 -37
107 lines not on this page · raw message
Signature · 1 line
1.7.4.1