aboutsummaryrefslogtreecommitdiff
path: root/sys/net/vnet.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2009-08-01 22:22:45 +0000
committerRobert Watson <rwatson@FreeBSD.org>2009-08-01 22:22:45 +0000
commit6aad5c1c9393b717363b89cd9405eef8a0c3c520 (patch)
tree75a63e8f9e3480495b910ccb028551fc76f0ddf3 /sys/net/vnet.c
parentc8f6a138205c094da431c5666ffb4ab1c4dd3469 (diff)
downloadsrc-6aad5c1c9393b717363b89cd9405eef8a0c3c520.tar.gz
src-6aad5c1c9393b717363b89cd9405eef8a0c3c520.zip
The colour was red as shall be the letters of this warning to people upon
boot if the experimental VIMAGE feature was compiled into the kernel. Submitted by: bz Reviewed by: zec Approved by: re (vimage blanket)
Notes
Notes: svn path=/head/; revision=196026
Diffstat (limited to 'sys/net/vnet.c')
-rw-r--r--sys/net/vnet.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/net/vnet.c b/sys/net/vnet.c
index da1152b2df21..7866bb98c90c 100644
--- a/sys/net/vnet.c
+++ b/sys/net/vnet.c
@@ -296,6 +296,10 @@ static void
vnet0_init(void *arg)
{
+ /* Warn people before take off - in case we crash early. */
+ printf("WARNING: VIMAGE (virtualized network stack) is a highly "
+ "experimental feature.\n");
+
/*
* We MUST clear curvnet in vi_init_done() before going SMP,
* otherwise CURVNET_SET() macros would scream about unnecessary