From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sean Christopherson Subject: Re: [PATCH 0/2] KVM: SVM: move the SEV command handling into a separate file Date: Fri, 1 Feb 2019 10:20:40 -0800 Message-ID: <20190201182040.GD12454@linux.intel.com> References: <20190201164654.3888-1-brijesh.singh@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: "kvm@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "x86@kernel.org" , Borislav Petkov , Paolo Bonzini , Radim =?utf-8?B?S3LEjW3DocWZ?= , Joerg Roedel , "Lendacky, Thomas" To: "Singh, Brijesh" Return-path: Content-Disposition: inline In-Reply-To: <20190201164654.3888-1-brijesh.singh@amd.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Fri, Feb 01, 2019 at 04:47:12PM +0000, Singh, Brijesh wrote: > 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. Any reason not to create arch/x86/kvm/svm/ before introducing sev.c? > The patch is based on motivation from this thread: > https://marc.info/?l=linux-kernel&m=153910240507399&w=2 > > Cc: Borislav Petkov > Cc: Paolo Bonzini > Cc: "Radim Krčmář" > Cc: Joerg Roedel > Cc: Tom Lendacky > > 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 >