[PATCH 0/2] KVM: SVM: move the SEV command handling into a separate file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <bp@xxxxxxxxx>
Cc: Paolo Bonzini <pbonzini@xxxxxxxxxx>
Cc: "Radim Krčmář" <rkrcmar@xxxxxxxxxx>
Cc: Joerg Roedel <joro@xxxxxxxxxx>
Cc: Tom Lendacky <Thomas.Lendacky@xxxxxxx>

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

-- 
2.17.1





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux