WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: [PATCH 2/2] xen: remove XEN_PLATFORM_PCI config option

To: stefano.stabellini@xxxxxxxxxxxxx
Subject: [Xen-devel] Re: [PATCH 2/2] xen: remove XEN_PLATFORM_PCI config option
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Tue, 27 Sep 2011 10:23:52 -0700
Cc: Ian.Campbell@xxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx, konrad.wilk@xxxxxxxxxx
Delivery-date: Tue, 27 Sep 2011 10:25:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1317143159-7235-2-git-send-email-stefano.stabellini@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1317143159-7235-1-git-send-email-stefano.stabellini@xxxxxxxxxxxxx> <1317143159-7235-2-git-send-email-stefano.stabellini@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20110906 Thunderbird/6.0.2
On 09/27/2011 10:05 AM, stefano.stabellini@xxxxxxxxxxxxx wrote:
> From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
>
> Xen PVHVM needs xen-platform-pci, on the other hand xen-platform-pci is
> useless in any other cases.
> Therefore remove the XEN_PLATFORM_PCI config option and compile
> xen-platform-pci built-in if XEN_PVHVM is selected.
>
> Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
> ---
>  drivers/xen/Kconfig  |   10 ----------
>  drivers/xen/Makefile |    2 +-
>  2 files changed, 1 insertions(+), 11 deletions(-)
>
> diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig
> index 5f7ff8e..8795480 100644
> --- a/drivers/xen/Kconfig
> +++ b/drivers/xen/Kconfig
> @@ -137,16 +137,6 @@ config XEN_GRANT_DEV_ALLOC
>         to other domains. This can be used to implement frontend drivers
>         or as part of an inter-domain shared memory channel.
>  
> -config XEN_PLATFORM_PCI
> -     tristate "xen platform pci device driver"
> -     depends on XEN_PVHVM && PCI
> -     default m
> -     help
> -       Driver for the Xen PCI Platform device: it is responsible for
> -       initializing xenbus and grant_table when running in a Xen HVM
> -       domain. As a consequence this driver is required to run any Xen PV
> -       frontend on Xen HVM.
> -
>  config SWIOTLB_XEN
>       def_bool y
>       depends on PCI
> diff --git a/drivers/xen/Makefile b/drivers/xen/Makefile
> index 72bbb27..d8dc26a 100644
> --- a/drivers/xen/Makefile
> +++ b/drivers/xen/Makefile
> @@ -14,7 +14,7 @@ obj-$(CONFIG_XEN_GNTDEV)            += xen-gntdev.o
>  obj-$(CONFIG_XEN_GRANT_DEV_ALLOC)    += xen-gntalloc.o
>  obj-$(CONFIG_XENFS)                  += xenfs/
>  obj-$(CONFIG_XEN_SYS_HYPERVISOR)     += sys-hypervisor.o
> -obj-$(CONFIG_XEN_PLATFORM_PCI)               += xen-platform-pci.o
> +obj-$(CONFIG_XEN_PVHVM)                      += xen-platform-pci.o

May as well just say "platform-pci.o" and remove the
"xen-platform-pci-y            := platform-pci.o" further down, since
its no longer externally visible.

    J

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>