svn commit: r196026 - head/sys/net

Robert Watson rwatson at FreeBSD.org
Sat Aug 1 22:22:45 UTC 2009


Author: rwatson
Date: Sat Aug  1 22:22:45 2009
New Revision: 196026
URL: http://svn.freebsd.org/changeset/base/196026

Log:
  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)

Modified:
  head/sys/net/vnet.c

Modified: head/sys/net/vnet.c
==============================================================================
--- head/sys/net/vnet.c	Sat Aug  1 21:58:32 2009	(r196025)
+++ head/sys/net/vnet.c	Sat Aug  1 22:22:45 2009	(r196026)
@@ -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


More information about the svn-src-head mailing list