Skip to content

Commit 0d16021

Browse files
Jeremy Fitzhardingejsgf
authored andcommitted
xen: add virtual network device driver
The network device frontend driver allows the kernel to access network devices exported exported by a virtual machine containing a physical network device driver. Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com> Signed-off-by: Chris Wright <chrisw@sous-sol.org> Acked-by: Jeff Garzik <jeff@garzik.org> Cc: Ian Pratt <ian.pratt@xensource.com> Cc: Christian Limpach <Christian.Limpach@cl.cam.ac.uk> Cc: Stephen Hemminger <shemminger@linux-foundation.org> Cc: Christoph Hellwig <hch@infradead.org> Cc: Rusty Russell <rusty@rustcorp.com.au> Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: Keir Fraser <Keir.Fraser@cl.cam.ac.uk> Cc: netdev@vger.kernel.org
1 parent 9f27ee5 commit 0d16021

3 files changed

Lines changed: 1877 additions & 0 deletions

File tree

‎drivers/net/Kconfig‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2486,6 +2486,18 @@ source "drivers/atm/Kconfig"
24862486

24872487
source "drivers/s390/net/Kconfig"
24882488

2489+
config XEN_NETDEV_FRONTEND
2490+
tristate "Xen network device frontend driver"
2491+
depends on XEN
2492+
default y
2493+
help
2494+
The network device frontend driver allows the kernel to
2495+
access network devices exported exported by a virtual
2496+
machine containing a physical network device driver. The
2497+
frontend driver is intended for unprivileged guest domains;
2498+
if you are compiling a kernel for a Xen guest, you almost
2499+
certainly want to enable this.
2500+
24892501
config ISERIES_VETH
24902502
tristate "iSeries Virtual Ethernet driver support"
24912503
depends on PPC_ISERIES

‎drivers/net/Makefile‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ obj-$(CONFIG_PPPOL2TP) += pppox.o pppol2tp.o
127127
obj-$(CONFIG_SLIP) += slip.o
128128
obj-$(CONFIG_SLHC) += slhc.o
129129

130+
obj-$(CONFIG_XEN_NETDEV_FRONTEND) += xen-netfront.o
131+
130132
obj-$(CONFIG_DUMMY) += dummy.o
131133
obj-$(CONFIG_IFB) += ifb.o
132134
obj-$(CONFIG_MACVLAN) += macvlan.o

0 commit comments

Comments
 (0)