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] [PATCH] linux: make gntdev code configurable

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] linux: make gntdev code configurable
From: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Date: Tue, 11 Dec 2007 16:51:23 +0000
Delivery-date: Tue, 11 Dec 2007 08:50:54 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
As usual, written and tested on 2.6.24-rc4 and made apply to the 2.6.18
tree without further testing.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

Index: head-2007-12-11/drivers/xen/Kconfig
===================================================================
--- head-2007-12-11.orig/drivers/xen/Kconfig    2007-10-18 16:15:28.000000000 
+0200
+++ head-2007-12-11/drivers/xen/Kconfig 2007-12-11 13:29:49.000000000 +0100
@@ -187,6 +187,13 @@ config XEN_NETDEV_FRONTEND
          dedicated device-driver domain, or your master control domain
          (domain 0), then you almost certainly want to say Y here.
 
+config XEN_GRANT_DEV
+       tristate "User-space granted page access driver"
+       default XEN_PRIVILEGED_GUEST
+       help
+         Device for accessing (in user-space) pages that have been granted
+         by other domains.
+
 config XEN_FRAMEBUFFER
        tristate "Framebuffer-device frontend driver"
        depends on XEN && FB
Index: head-2007-12-11/drivers/xen/Makefile
===================================================================
--- head-2007-12-11.orig/drivers/xen/Makefile   2007-12-11 11:15:16.000000000 
+0100
+++ head-2007-12-11/drivers/xen/Makefile        2007-12-11 13:30:44.000000000 
+0100
@@ -4,7 +4,6 @@ obj-$(CONFIG_XEN)               += core/
 obj-y  += console/
 obj-y  += evtchn/
 obj-y  += xenbus/
-obj-y  += gntdev/
 obj-y  += char/
 
 obj-y  += util.o
@@ -20,3 +19,4 @@ obj-$(CONFIG_XEN_PCIDEV_FRONTEND)     += pci
 obj-$(CONFIG_XEN_FRAMEBUFFER)          += fbfront/
 obj-$(CONFIG_XEN_KEYBOARD)             += fbfront/
 obj-$(CONFIG_XEN_PRIVCMD)      += privcmd/
+obj-$(CONFIG_XEN_GRANT_DEV)    += gntdev/
Index: head-2007-12-11/drivers/xen/gntdev/Makefile
===================================================================
--- head-2007-12-11.orig/drivers/xen/gntdev/Makefile    2007-06-12 
13:13:45.000000000 +0200
+++ head-2007-12-11/drivers/xen/gntdev/Makefile 2007-12-11 13:31:04.000000000 
+0100
@@ -1 +1 @@
-obj-y  := gntdev.o
+obj-$(CONFIG_XEN_GRANT_DEV) := gntdev.o




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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] linux: make gntdev code configurable, Jan Beulich <=