]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - arch/x86/kvm/mmu/mmu.c
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)
commit5a9624affe7c7498fb395879d9bb613628e89e60
treed0a58007a0457c7c0df694900c251320483b7c15
parentcb3eedab453911ca177c1e2e44add0b7fe4a6f09
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]