]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: mmu: extract spte.h and spte.c
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 16 Oct 2020 14:29:37 +0000 (10:29 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 21 Oct 2020 22:16:59 +0000 (18:16 -0400)
commite81d7079a390fff14c0bbfaa9e434a3f730acb17
treed0a58007a0457c7c0df694900c251320483b7c15
parentcb1b0b7ad6d7d38969b4264943142e6aa3f1ade2
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>
arch/x86/kvm/Makefile
arch/x86/kvm/mmu/mmu.c
arch/x86/kvm/mmu/mmu_internal.h
arch/x86/kvm/mmu/spte.c [new file with mode: 0644]
arch/x86/kvm/mmu/spte.h [new file with mode: 0644]