summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2009-08-01 22:22:45 +0000
committerrwatson <rwatson@FreeBSD.org>2009-08-01 22:22:45 +0000
commit2eafab39fe924930f5cc985cbfe46deeb11f5e2c (patch)
tree75a63e8f9e3480495b910ccb028551fc76f0ddf3
parent3b267ddfaa2270c648fc027a739230c6aa659c79 (diff)
downloadFreeBSD-src-2eafab39fe924930f5cc985cbfe46deeb11f5e2c.zip
FreeBSD-src-2eafab39fe924930f5cc985cbfe46deeb11f5e2c.tar.gz
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)
-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 da1152b..7866bb9 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
OpenPOWER on IntegriCloud