aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/main.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-04-23 12:19:14 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-04-23 12:19:14 +0100
commit82ed447498424443f9ea1585bfa5dcfb95f1ab3a (patch)
tree9238b5b3bd79627b33dee56498658836db225e89 /extras/mini-os/main.c
parent5bacab31726fb8e4dbedeba2eb737541b13b0aab (diff)
downloadxen-82ed447498424443f9ea1585bfa5dcfb95f1ab3a.tar.gz
xen-82ed447498424443f9ea1585bfa5dcfb95f1ab3a.tar.bz2
xen-82ed447498424443f9ea1585bfa5dcfb95f1ab3a.zip
stubdom: drop lwip support
Network support is still provided the same way: using the tap interface, created in qemu using netfront. The lwip stack is still available to avoid additional compilation issues. However the stubdom is not going to have its own vif anymore, this means that the only vnc server supported is the one in dom0. You can still enable the vnc server in a stubdom at compile time, if you want so. Probably the most important change caused by this patch to xen users is that you don't have to specify two vif in the stubdom config file anymore, but just one: -vif = [ '', 'ip=10.0.1.1,mac=aa:00:00:12:23:34'] +vif = ['ip=10.0.1.1,mac=aa:00:00:12:23:34'] Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'extras/mini-os/main.c')
-rw-r--r--extras/mini-os/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/mini-os/main.c b/extras/mini-os/main.c
index 3289c638e4..204cf85f8a 100644
--- a/extras/mini-os/main.c
+++ b/extras/mini-os/main.c
@@ -62,7 +62,7 @@ static void call_main(void *p)
#ifndef CONFIG_GRUB
sparse((unsigned long) &__app_bss_start, &__app_bss_end - &__app_bss_start);
-#ifdef HAVE_LWIP
+#if defined(HAVE_LWIP) && !defined(CONFIG_QEMU)
start_networking();
#endif
init_fs_frontend();