[PATCH 0/4] KVM: SVM: Move and split up svm.c
From: Joerg Roedel
Date: Tue Mar 24 2020 - 05:42:23 EST
Hi,
here is a patch-set agains kvm/queue which moves svm.c into its own
subdirectory arch/x86/kvm/svm/ and splits moves parts of it into
separate source files:
- The parts related to nested SVM to nested.c
- AVIC implementation to avic.c
- The SEV parts to sev.c
I have tested the changes in a guest with and without SEV.
Please review.
Thanks,
Joerg
Joerg Roedel (4):
kVM SVM: Move SVM related files to own sub-directory
KVM: SVM: Move Nested SVM Implementation to nested.c
KVM: SVM: Move AVIC code to separate file
KVM: SVM: Move SEV code to separate file
arch/x86/kvm/Makefile | 2 +-
arch/x86/kvm/svm/avic.c | 1025 ++++
arch/x86/kvm/svm/nested.c | 823 ++++
arch/x86/kvm/{pmu_amd.c => svm/pmu.c} | 0
arch/x86/kvm/svm/sev.c | 1178 +++++
arch/x86/kvm/{ => svm}/svm.c | 6546 ++++++-------------------
arch/x86/kvm/svm/svm.h | 491 ++
7 files changed, 5106 insertions(+), 4959 deletions(-)
create mode 100644 arch/x86/kvm/svm/avic.c
create mode 100644 arch/x86/kvm/svm/nested.c
rename arch/x86/kvm/{pmu_amd.c => svm/pmu.c} (100%)
create mode 100644 arch/x86/kvm/svm/sev.c
rename arch/x86/kvm/{ => svm}/svm.c (56%)
create mode 100644 arch/x86/kvm/svm/svm.h
--
2.17.1