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

From: Ashish Kalra
Date: Tue Mar 24 2020 - 13:56:34 EST


Hello Paolo,

I am going to submit v5 of the SEV live migration patch-set in a
couple of days and my patch-set is based on the single svm.c
file, so do i need to rebase my patch-set gainst this queued
patch ?

Thanks,
Ashish

On Tue, Mar 24, 2020 at 12:33:17PM +0100, Paolo Bonzini wrote:
> On 24/03/20 10:41, Joerg Roedel wrote:
> > 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
> >
>
> Queued, thanks (only cursorily reviewed for now).
>
> Paolo
>