From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Luis R. Rodriguez" Subject: Re: [PATCH v3 RESEND] 2/2] x86, arm, platform, xen, kconfig: add xen defconfig helper Date: Wed, 11 Feb 2015 02:08:35 +0100 Message-ID: <20150211010835.GK19988@wotan.suse.de> References: <1423614201-30822-1-git-send-email-mcgrof@do-not-panic.com> <1423614201-30822-3-git-send-email-mcgrof@do-not-panic.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "Luis R. Rodriguez" , Andrew Morton , mingo@redhat.com, tglx@linutronix.de, hpa@zytor.com, josh@joshtriplett.org, mmarek@suse.cz, sam@ravnborg.org, stefano.stabellini@eu.citrix.com, bpoirier@suse.de, x86@kernel.org, kvm@vger.kernel.org, xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, julien.grall@linaro.org, Borislav Petkov , Pekka Enberg , Randy Dunlap , levinsasha928@gmail.com, mtosatti@redhat.com, fengguang.wu@intel.com, David Vrabel , Ian Campbell , Konrad Rzeszutek Wilk To: David Rientjes Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Tue, Feb 10, 2015 at 04:49:13PM -0800, David Rientjes wrote: > On Tue, 10 Feb 2015, Luis R. Rodriguez wrote: > > > From: "Luis R. Rodriguez" > > > > This lets you build a kernel which can support xen dom0 > > or xen guests by just using: > > > > make xenconfig > > > > on both x86 and arm64 kernels. This also splits out the > > options which are available currently to be built with x86 > > and 'make ARCH=arm64' under a shared config. > > > > Technically xen supports a dom0 kernel and also a guest > > kernel configuration but upon review with the xen team > > since we don't have many dom0 options its best to just > > combine these two into one. > > > > This doesn't work because neither CONFIG_HYPERVISOR_GUEST in > arch/x86/configs/xen.config nor CONFIG_PARAVIRT in > kernel/configs/xen.config get enabled. > > make kvmconfig does this appropriately. > > You can test this with make {allno,def}config; make xenconfig. Notice > there's no difference with your patchset. Thanks, I'll fix. Luis