Skip to contentSkip to conversation

config_xen0_tun.patch

PATCH In review Arun Sharma 2 participants 2 messages May 2, 2005 – May 13, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 config_xen0_tun.patch

QEMU needs CONFIG_TUN to enable networking.

xen0_defconfig_x86_32 renamed from linux-2.6.11-xen-sparse/arch/xen/configs/xen0_defconfig_x86_32 +1 -1
@@ -598,7 +598,7 @@
 # CONFIG_DUMMY is not set
 # CONFIG_BONDING is not set
 # CONFIG_EQUALIZER is not set
-# CONFIG_TUN is not set
+CONFIG_TUN=y
 
 #
 # ARCnet devices
xen0_defconfig_x86_64 renamed from linux-2.6.11-xen-sparse/arch/xen/configs/xen0_defconfig_x86_64 +1 -1
@@ -515,7 +515,7 @@
 # CONFIG_DUMMY is not set
 # CONFIG_BONDING is not set
 # CONFIG_EQUALIZER is not set
-# CONFIG_TUN is not set
+CONFIG_TUN=y
 
 #
 # ARCnet devices
#1 lore raw
Quoted 1 line · Arun Sharma

QEMU needs CONFIG_TUN to enable networking.

Just on the off chance you didn't realise: this is not true if you use -user-net. Then you don't need to run as root, either (of course, it's limited in other ways).

Thanks,
Rusty.

Signature · 1 line
A bad analogy is like a leaky screwdriver -- Richard Braakman