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/
Home Products Support Community News


[Xen-devel] Re: [PATCH] xen: rename gntdev and evtdev modules to be less

To: Ian Campbell <ian.campbell@xxxxxxxxxx>
Subject: [Xen-devel] Re: [PATCH] xen: rename gntdev and evtdev modules to be less generic
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Mon, 07 Dec 2009 16:21:39 -0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 07 Dec 2009 16:21:58 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1260097645-13477-1-git-send-email-ian.campbell@xxxxxxxxxx>
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: <1260097645-13477-1-git-send-email-ian.campbell@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20091125 Fedora/3.0-3.12.rc1.fc12 Lightning/1.0pre Thunderbird/3.0
On 12/06/09 03:07, Ian Campbell wrote:
Also allow gntdev to be built as a module.

I'm thinking of dropping gntdev; it doesn't work at present (ends up trying to take a mutex in a spinlock), and I don't think it has any users.

Signed-off-by: Ian Campbell<ian.campbell@xxxxxxxxxx>
Cc: Jeremy Fitzhardinge<jeremy@xxxxxxxx>
  drivers/xen/Kconfig  |    2 +-
  drivers/xen/Makefile |    7 +++++--
  2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig
index 22c8818..a2833bb 100644
--- a/drivers/xen/Kconfig
+++ b/drivers/xen/Kconfig
@@ -169,7 +169,7 @@ config XEN_S3
         depends on XEN_DOM0&&  ACPI

  config XEN_GNTDEV
-       bool "userspace grant access device driver"
+       tristate "userspace grant access device driver"
        depends on XEN
        select MMU_NOTIFIER
diff --git a/drivers/xen/Makefile b/drivers/xen/Makefile
index f7893f3..3288930 100644
--- a/drivers/xen/Makefile
+++ b/drivers/xen/Makefile
@@ -8,8 +8,8 @@ obj-$(CONFIG_PCI)                       += pci.o
  obj-$(CONFIG_HOTPLUG_CPU)             += cpu_hotplug.o
  obj-$(CONFIG_XEN_XENCOMM)             += xencomm.o
  obj-$(CONFIG_XEN_BALLOON)             += balloon.o
-obj-$(CONFIG_XEN_DEV_EVTCHN)           += evtchn.o
-obj-$(CONFIG_XEN_GNTDEV)               += gntdev.o
+obj-$(CONFIG_XEN_DEV_EVTCHN)           += xen-evtchn.o
+obj-$(CONFIG_XEN_GNTDEV)               += xen-gntdev.o
  obj-$(CONFIG_XEN_BLKDEV_BACKEND)      += blkback/
  obj-$(CONFIG_XEN_BLKDEV_TAP)            += blktap/
  obj-$(CONFIG_XEN_NETDEV_BACKEND)      += netback/
@@ -19,3 +19,6 @@ obj-$(CONFIG_XEN_SYS_HYPERVISOR)      += sys-hypervisor.o
  obj-$(CONFIG_XEN_S3)                  += acpi.o
  obj-$(CONFIG_XEN_MCE)                 += mce.o
  obj-$(CONFIG_ACPI_PROCESSOR_XEN)      += acpi_processor.o
+xen-evtchn-y                           := evtchn.o
+xen-gntdev-y                           := gntdev.o

Xen-devel mailing list