From: "Jan Beulich" Subject: [PATCH] linux: make gntdev code configurable Date: Tue, 11 Dec 2007 16:51:23 +0000 Message-ID: <475ECE1B.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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 Index: head-2007-12-11/drivers/xen/Kconfig =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- head-2007-12-11.orig/drivers/xen/Kconfig 2007-10-18 16:15:28.0000000= 00 +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. =20 +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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- head-2007-12-11.orig/drivers/xen/Makefile 2007-12-11 11:15:16.0000000= 00 +0100 +++ head-2007-12-11/drivers/xen/Makefile 2007-12-11 13:30:44.0000000= 00 +0100 @@ -4,7 +4,6 @@ obj-$(CONFIG_XEN) +=3D core/ obj-y +=3D console/ obj-y +=3D evtchn/ obj-y +=3D xenbus/ -obj-y +=3D gntdev/ obj-y +=3D char/ =20 obj-y +=3D util.o @@ -20,3 +19,4 @@ obj-$(CONFIG_XEN_PCIDEV_FRONTEND) +=3D pci obj-$(CONFIG_XEN_FRAMEBUFFER) +=3D fbfront/ obj-$(CONFIG_XEN_KEYBOARD) +=3D fbfront/ obj-$(CONFIG_XEN_PRIVCMD) +=3D privcmd/ +obj-$(CONFIG_XEN_GRANT_DEV) +=3D gntdev/ Index: head-2007-12-11/drivers/xen/gntdev/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- 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.0000000= 00 +0100 @@ -1 +1 @@ -obj-y :=3D gntdev.o +obj-$(CONFIG_XEN_GRANT_DEV) :=3D gntdev.o