Received: from eggs.gnu.org ([2001:4830:134:3::10]:47762) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6k7g-000253-T8 for qemu-devel@nongnu.org; Fri, 24 Jan 2014 12:00:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W6k7a-0000Q1-6I for qemu-devel@nongnu.org; Fri, 24 Jan 2014 12:00:52 -0500 Received: from smtp02.citrix.com ([66.165.176.63]:35268) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6k7Z-0000P3-Jp for qemu-devel@nongnu.org; Fri, 24 Jan 2014 12:00:45 -0500 Date: Fri, 24 Jan 2014 17:00:30 +0000 From: Wei Liu Message-ID: <20140124170030.GK24675@zion.uk.xensource.com> References: <1390515366-32236-1-git-send-email-wei.liu2@citrix.com> <1390515366-32236-6-git-send-email-wei.liu2@citrix.com> <52E2186B.6060200@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <52E2186B.6060200@redhat.com> Subject: Re: [Qemu-devel] [PATCH RFC 5/5] xen: introduce xenpv-softmmu.mak List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: peter.maydell@linaro.org, Wei Liu , stefano.stabellini@eu.citrix.com, qemu-devel@nongnu.org, xen-devel@lists.xen.org, anthony.perard@citrix.com On Fri, Jan 24, 2014 at 08:38:19AM +0100, Paolo Bonzini wrote: > Il 23/01/2014 23:16, Wei Liu ha scritto: > >- echo "CONFIG_XEN_PCI_PASSTHROUGH=y" >> "$config_target_mak" > >+ if test "$target_name" != "xenpv"; then > >+ echo "CONFIG_XEN_I386=y" >> $config_target_mak > >+ if test "$xen_pci_passthrough" = yes; then > >+ echo "CONFIG_XEN_PCI_PASSTHROUGH=y" >> "$config_target_mak" > >+ fi > > You can add > > CONFIG_XEN_PCI_PASSTHROUGH=$(CONFIG_XEN) > > to i386-softmmu.mak and x86_64-softmmu.mak, and drop this setting > from config-target.mak too. > I'm afraid not. CONFIG_XEN is prerequiste for CONFIG_XEN_PCI_PASSTHROUGH but doens't imply the feature is enabled by the user. Wei. > Paolo