From: Jeremy Katz <katzj@redhat.com>
To: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Cc: Ian Pratt <Ian.Pratt@cl.cam.ac.uk>
Subject: [PATCH] Allow building netfront and blkfront as modules
Date: Tue, 08 Nov 2005 22:53:49 -0500 [thread overview]
Message-ID: <1131508430.3533.45.camel@bree.local.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 151 bytes --]
Attached patch allows building of netfront and blkfront as modules
(xennet.ko and xenblk.ko).
Signed-off-by: Jeremy Katz <katzj@redhat.com>
Jeremy
[-- Attachment #2: xen-modular-netblock.patch --]
[-- Type: text/x-patch, Size: 1456 bytes --]
diff -r abbe3df33774 linux-2.6-xen-sparse/arch/xen/Kconfig
--- a/linux-2.6-xen-sparse/arch/xen/Kconfig Tue Nov 8 17:39:58 2005
+++ b/linux-2.6-xen-sparse/arch/xen/Kconfig Tue Nov 8 22:52:32 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 abbe3df33774 linux-2.6-xen-sparse/drivers/xen/blkfront/Makefile
--- a/linux-2.6-xen-sparse/drivers/xen/blkfront/Makefile Tue Nov 8 17:39:58 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/blkfront/Makefile Tue Nov 8 22:52:32 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 abbe3df33774 linux-2.6-xen-sparse/drivers/xen/netfront/Makefile
--- a/linux-2.6-xen-sparse/drivers/xen/netfront/Makefile Tue Nov 8 17:39:58 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/netfront/Makefile Tue Nov 8 22:52:32 2005
@@ -1,2 +1,4 @@
-obj-y := netfront.o
+obj-$(CONFIG_XEN_NETDEV_FRONTEND) := xennet.o
+
+xennet-objs := netfront.o
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
reply other threads:[~2005-11-09 3:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1131508430.3533.45.camel@bree.local.net \
--to=katzj@redhat.com \
--cc=Ian.Pratt@cl.cam.ac.uk \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.