From: "Luis R. Rodriguez" Subject: Re: [RFC v1 6/8] xen: x86: make XEN_PV* stuff depend on PARAVIRT and PARAVIRT_CLOCK Date: Thu, 26 Feb 2015 01:54:58 +0100 Message-ID: <20150226005458.GC8749@wotan.suse.de> References: <1423720996-3332-1-git-send-email-mcgrof@do-not-panic.com> <1423720996-3332-7-git-send-email-mcgrof@do-not-panic.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YQmjF-0002Gz-J3 for xen-devel@lists.xenproject.org; Thu, 26 Feb 2015 00:55:02 +0000 Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini Cc: jgross@suse.com, xen-devel@lists.xenproject.org, boris.ostrovsky@oracle.com, david.vrabel@citrix.com, "Luis R. Rodriguez" List-Id: xen-devel@lists.xenproject.org On Wed, Feb 25, 2015 at 03:45:56PM +0000, Stefano Stabellini wrote: > On Wed, 11 Feb 2015, Luis R. Rodriguez wrote: > > From: "Luis R. Rodriguez" > > > > This will later more easily let us unfold PARAVIRT and PARAVIRT_CLOCK > > from under CONFIG_XEN. All the XEN_PV* stuff is under the x86 universe. > > This is as per the agreed upon Xen Kconfig changes [0]. > > > > [0] http://comments.gmane.org/gmane.comp.emulators.xen.devel/231579 > > > > Signed-off-by: Luis R. Rodriguez > > --- > > arch/x86/xen/Kconfig | 6 ++++++ > > 1 file changed, 6 insertions(+) > > > > diff --git a/arch/x86/xen/Kconfig b/arch/x86/xen/Kconfig > > index 9e0442f..50e2fb4 100644 > > --- a/arch/x86/xen/Kconfig > > +++ b/arch/x86/xen/Kconfig > > @@ -21,6 +21,8 @@ config XEN_DOM0 > > > > config XEN_PVHVM > > def_bool y > > + select PARAVIRT > > + select PARAVIRT_CLOCK > > depends on XEN && PCI && X86_LOCAL_APIC > > > > config XEN_MAX_DOMAIN_MEMORY > > @@ -49,11 +51,15 @@ config XEN_DEBUG_FS > > config XEN_PVH > > bool "Support for running as a PVH guest" > > depends on X86_64 && XEN > > + select PARAVIRT > > + select PARAVIRT_CLOCK > > select XEN_PVHVM > > def_bool n > > > > config XEN_PV > > bool "Support for running as a PV guest" > > depends on XEN && X86 > > + select PARAVIRT > > + select PARAVIRT_CLOCK > > select XEN_HAVE_PVMMU > > def_bool n > > Given that all select PARAVIRT and PARAVIRT_CLOCK, shouldn't we just > move them under config XEN? I believe this makes sense given that XEN_FRONTEND will now also select it if we remove XEN_PVHVM and instead fold what it provides under XEN_FRONTEND. I'll send a v4 kconfig changes as things look so far. Luis