From owner-freebsd-virtualization@FreeBSD.ORG Sat May 2 19:03:28 2009 Return-Path: Delivered-To: virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76561106564A for ; Sat, 2 May 2009 19:03:28 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outT.internet-mail-service.net (outt.internet-mail-service.net [216.240.47.243]) by mx1.freebsd.org (Postfix) with ESMTP id 5D81F8FC12 for ; Sat, 2 May 2009 19:03:28 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 18A2021F8; Sat, 2 May 2009 12:03:28 -0700 (PDT) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id B3C602D614B; Sat, 2 May 2009 12:03:27 -0700 (PDT) Message-ID: <49FC9902.0@elischer.org> Date: Sat, 02 May 2009 12:03:30 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: Olivier SMEDTS References: <49FC812B.2070305@elischer.org> <367b2c980905021130i76012f91i7cce93edd55cacad@mail.gmail.com> In-Reply-To: <367b2c980905021130i76012f91i7cce93edd55cacad@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: virtualization@freebsd.org Subject: Re: VIMAGE status X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 May 2009 19:03:28 -0000 Olivier SMEDTS wrote: > 2009/5/2 Julian Elischer : >> The VIMAGE code is nearly all in the the kernel. >> >> One is now able to make VIMAGE kernels (add options VIMAGE) >> though they don't actually allow you to make multiple >> vimages instances yet.. >> >> The VIMAGE option enables all the low level changes needed >> throughout the kernel. >> > Here is a warning I have when building kernel with options VIMAGE and INET6 : > > cc -c -O2 -pipe -march=native -fno-strict-aliasing -std=c99 -g -Wall > -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef > -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/work/src/sys > -I/work/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS > -include opt_global.h -fno-common -finline-limit=8000 --param > inline-unit-growth=100 --param large-function-growth=1000 > -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 > -mno-sse3 -mno-mmx -mno-3dnow -msoft-float > -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector > -Werror /work/src/sys/netinet6/mld6.c > cc1: warnings being treated as errors > /work/src/sys/netinet6/mld6.c: In function 'vnet_mld_idetach': > /work/src/sys/netinet6/mld6.c:3145: warning: unused variable 'vnet_inet6' > *** Error code 1 > > > I assume you do not have INVARIANTS.. can you just put #ifdef INVARIANTS around that line and do the compile again?