KVM: mmu: extract spte.h and spte.c
The SPTE format will be common to both the shadow and the TDP MMU.
Extract code that implements the format to a separate module, as a
first step towards adding the TDP MMU and putting mmu.c on a diet.
Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
Showing
- arch/x86/kvm/Makefile 2 additions, 1 deletionarch/x86/kvm/Makefile
- arch/x86/kvm/mmu/mmu.c 5 additions, 546 deletionsarch/x86/kvm/mmu/mmu.c
- arch/x86/kvm/mmu/mmu_internal.h 30 additions, 1 deletionarch/x86/kvm/mmu/mmu_internal.h
- arch/x86/kvm/mmu/spte.c 318 additions, 0 deletionsarch/x86/kvm/mmu/spte.c
- arch/x86/kvm/mmu/spte.h 252 additions, 0 deletionsarch/x86/kvm/mmu/spte.h
Loading
Please register or sign in to comment