From: Paolo Bonzini Subject: Re: [PATCH] KVM: X86: Add missing KVM_AMD dependency Date: Tue, 9 Oct 2018 18:26:14 +0200 Message-ID: <7c5f1b99-9556-09ee-93f4-3a36d43a9c8e@redhat.com> References: <1538765165-19177-1-git-send-email-linux@roeck-us.net> <749a21f9-ad88-af0e-bed7-b505ac57568d@redhat.com> <20181005220325.GA24365@roeck-us.net> <713d35b9-5dd5-284f-b514-7d2295a2db34@redhat.com> <5e1de49e-9ec5-b11b-d38b-845d0274dc03@amd.com> <20181008173216.GJ6490@zn.tnic> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Guenter Roeck , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "x86@kernel.org" , "kvm@vger.kernel.org" , "linux-kernel@vger.kernel.org" To: Borislav Petkov , "Singh, Brijesh" Return-path: In-Reply-To: <20181008173216.GJ6490@zn.tnic> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 08/10/2018 19:32, Borislav Petkov wrote: > On Mon, Oct 08, 2018 at 02:52:46PM +0000, Singh, Brijesh wrote: >> Does it make sense to move all the SEV specific code in svm-sev.c ? >> I am looking to add SEV migration support very soon, and can see >> myself adding more SEV command handling which will grow svm.c further. > > Amen to that - svm.c is pretty huge already. And if you end up moving > facilities, you can simply call it sev.c Creating arch/x86/kvm/{mmu,vmx,svm}/ has been on my todo list for a while. If you would like to split the SEV bits, that would be a good start. Paolo