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 2/4] xenbus: CONFIG_PROC_FS is required for the xenbu

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 2/4] xenbus: CONFIG_PROC_FS is required for the xenbus's privcmd
From: Horms <horms@xxxxxxxxxxxx>
Date: Fri, 16 Jun 2006 16:51:02 +0900
Cc: Horms <horms@xxxxxxxxxxxx>
Delivery-date: Fri, 16 Jun 2006 02:01:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060616075052.31276.7750.sendpatchset@xxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <20060616075052.31276.7750.sendpatchset@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
xenbus: CONFIG_PROC_FS is required for the xenbus's privcmd

It does not appear that any of the functionality of xenbus' privcmd
can be provided without CONFIG_PROC_FS

Signed-Off-By: Horms <horms@xxxxxxxxxxxx>

 linux-2.6-xen-sparse/drivers/xen/Kconfig          |    5 +++++
 linux-2.6-xen-sparse/drivers/xen/privcmd/Makefile |    2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

--- x/linux-2.6-xen-sparse/drivers/xen/Kconfig
+++ x/linux-2.6-xen-sparse/drivers/xen/Kconfig
@@ -28,6 +28,11 @@ config XEN_UNPRIVILEGED_GUEST
        bool
        default !XEN_PRIVILEGED_GUEST
 
+config XEN_PRIVCMD
+       bool
+       depends on PROC_FS
+       default y
+
 config XEN_BACKEND
         tristate "Backend driver support"
         default y
--- x/linux-2.6-xen-sparse/drivers/xen/privcmd/Makefile
+++ x/linux-2.6-xen-sparse/drivers/xen/privcmd/Makefile
@@ -1,2 +1,2 @@
 
-obj-y  := privcmd.o
+obj-$(CONFIG_XEN_PRIVCMD)      := privcmd.o

-- 
Horms                                           http://www.vergenet.net/~horms/


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