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-changelog

[Xen-changelog] Attached patch allows building of netfront and blkfront

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Attached patch allows building of netfront and blkfront as modules
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 09 Nov 2005 17:52:11 +0000
Delivery-date: Wed, 09 Nov 2005 17:52:59 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 34a0dcb1700cc8f159353d770aa69048837bea57
# Parent  83ec10103067c69b5692b99429de8a7648a40d8f
Attached patch allows building of netfront and blkfront as modules
(xennet.ko and xenblk.ko).  

Signed-off-by: Jeremy Katz <katzj@xxxxxxxxxx>

diff -r 83ec10103067 -r 34a0dcb1700c linux-2.6-xen-sparse/arch/xen/Kconfig
--- a/linux-2.6-xen-sparse/arch/xen/Kconfig     Wed Nov  9 13:41:37 2005
+++ b/linux-2.6-xen-sparse/arch/xen/Kconfig     Wed Nov  9 13:42:15 2005
@@ -94,7 +94,7 @@
           Say Y if you want this feature.
 
 config XEN_BLKDEV_FRONTEND
-       bool "Block-device frontend driver"
+       tristate "Block-device frontend driver"
        default y
        help
          The block-device frontend driver allows the kernel to access block
@@ -103,7 +103,7 @@
          (domain 0), then you almost certainly want to say Y here.
 
 config XEN_NETDEV_FRONTEND
-       bool "Network-device frontend driver"
+       tristate "Network-device frontend driver"
        default y
        help
          The network-device frontend driver allows the kernel to access
diff -r 83ec10103067 -r 34a0dcb1700c 
linux-2.6-xen-sparse/drivers/xen/blkfront/Makefile
--- a/linux-2.6-xen-sparse/drivers/xen/blkfront/Makefile        Wed Nov  9 
13:41:37 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/blkfront/Makefile        Wed Nov  9 
13:42:15 2005
@@ -1,3 +1,5 @@
 
-obj-y  := blkfront.o vbd.o
+obj-$(CONFIG_XEN_BLKDEV_FRONTEND)      := xenblk.o
 
+xenblk-objs := blkfront.o vbd.o
+
diff -r 83ec10103067 -r 34a0dcb1700c 
linux-2.6-xen-sparse/drivers/xen/netfront/Makefile
--- a/linux-2.6-xen-sparse/drivers/xen/netfront/Makefile        Wed Nov  9 
13:41:37 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/netfront/Makefile        Wed Nov  9 
13:42:15 2005
@@ -1,2 +1,4 @@
 
-obj-y  := netfront.o
+obj-$(CONFIG_XEN_NETDEV_FRONTEND)      := xennet.o
+
+xennet-objs := netfront.o

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Attached patch allows building of netfront and blkfront as modules, Xen patchbot -unstable <=