Skip to content

KVM: SVM: Move and split up svm.c

Joerg Roedel kvm lkml 1 version Applied

Status from this message: Queued, thanks (only cursorily reviewed for now).

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 9 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4kVM SVM: Move SVM related files to own sub-directoryarch/x86/kvm/Makefile arch/x86/kvm/svm/pmu.c arch/x86/kvm/svm/svm.c+1 -10 replies
2/4KVM: SVM: Move Nested SVM Implementation to nested.carch/x86/kvm/Makefile arch/x86/kvm/svm/nested.c arch/x86/kvm/svm/svm.c +1 more+1216 -11452 replies
3/4KVM: SVM: Move AVIC code to separate filearch/x86/kvm/Makefile arch/x86/kvm/svm/avic.c arch/x86/kvm/svm/svm.c +1 more+1089 -10490 replies
4/4KVM: SVM: Move SEV code to separate filearch/x86/kvm/Makefile arch/x86/kvm/svm/sev.c arch/x86/kvm/svm/svm.c +1 more+1248 -12120 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] KVM: SVM: Move and split up svm.c

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
Signature · 1 line
2.17.1