Skip to content

KVM: SVM: move the SEV command handling into a separate file

Singh, Brijesh kvm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2KVM: SVM: move common struct definitions to header filearch/x86/include/asm/svm.h arch/x86/kvm/svm.c+155 -1550 replies
2/2KVM: SVM: move the SEV specific function in a separate filearch/x86/kvm/Makefile arch/x86/kvm/sev.c arch/x86/kvm/sev.h +1 more+1141 -10560 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/2] KVM: SVM: move the SEV command handling into a separate file

svm.c is pretty huge, before we add more SEV specific commands (e.g SEV-ES, SEV-Migration etc) lets move the SEV command handling into a separate file. There is no logical changes in this series.

The patch is based on motivation from this thread:
https://marc.info/?l=linux-kernel&m=153910240507399&w=2

Cc Borislav Petkov <[email protected]>
Cc Paolo Bonzini <[email protected]>
Cc "Radim Krčmář" <[email protected]>
Cc Joerg Roedel <[email protected]>
Cc Tom Lendacky <[email protected]>

Brijesh Singh (2):
KVM: SVM: move common struct definitions to header file
KVM: SVM: move the SEV specific function in a separate file

 arch/x86/include/asm/svm.h |  155 +++++
 arch/x86/kvm/Makefile      |    2 +
 arch/x86/kvm/sev.c         | 1076 +++++++++++++++++++++++++++++++
 arch/x86/kvm/sev.h         |   40 ++
 arch/x86/kvm/svm.c         | 1234 +-----------------------------------
 5 files changed, 1296 insertions(+), 1211 deletions(-)
 create mode 100644 arch/x86/kvm/sev.c
 create mode 100644 arch/x86/kvm/sev.h
Signature · 1 line
2.17.1