[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] linux: make gntdev code configurable



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.