From owner-freebsd-virtualization@FreeBSD.ORG Tue Mar 6 21:53:26 2012 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9677D106564A for ; Tue, 6 Mar 2012 21:53:26 +0000 (UTC) (envelope-from monthadar@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 547688FC17 for ; Tue, 6 Mar 2012 21:53:26 +0000 (UTC) Received: by iahk25 with SMTP id k25so10342305iah.13 for ; Tue, 06 Mar 2012 13:53:25 -0800 (PST) Received-SPF: pass (google.com: domain of monthadar@gmail.com designates 10.50.158.131 as permitted sender) client-ip=10.50.158.131; Authentication-Results: mr.google.com; spf=pass (google.com: domain of monthadar@gmail.com designates 10.50.158.131 as permitted sender) smtp.mail=monthadar@gmail.com; dkim=pass header.i=monthadar@gmail.com Received: from mr.google.com ([10.50.158.131]) by 10.50.158.131 with SMTP id wu3mr11984913igb.49.1331070805874 (num_hops = 1); Tue, 06 Mar 2012 13:53:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=5B6LxG5YkrCa3KhW4OgdwknUCtpcbzw/6B1CtVG9tAM=; b=Y52IVGkSuD17ApB9CWPqRRH4PZpiUwIdPdo1+bqZjgKrL2XKw9QLrnIkJTx8SAouBa T988DYXGvo8Q3UGLPA1sScZ/RymKADZiOiwk1K1YNs8DYzcZpTtd58SgC9FlSfrA7Cxb eR3EmaO7ffgoL/5l926DtcpNgCmp9K0FB9VxA6120nv6GnQGpqKy6B4jrCajx2WiKaCA ndkL/+KiN+zdJzzDfh0OGu6aOuaEsN7DKEevqPNvm+FM2x4kTNJlDbdXH/4TyZf3Tvr2 Y+dWWTtWRVd1P4JKAlOZk56Ixfp5xzgmbWopr6PWQ/TFfIgZjITjOU9VJifCrhZgSAQa q22g== MIME-Version: 1.0 Received: by 10.50.158.131 with SMTP id wu3mr9994098igb.49.1331070805786; Tue, 06 Mar 2012 13:53:25 -0800 (PST) Received: by 10.50.236.67 with HTTP; Tue, 6 Mar 2012 13:53:25 -0800 (PST) In-Reply-To: References: <201203062245.41155.zec@fer.hr> <201203062251.39786.zec@fer.hr> Date: Tue, 6 Mar 2012 22:53:25 +0100 Message-ID: From: Monthadar Al Jaberi To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 Cc: Marko Zec , freebsd-virtualization@freebsd.org Subject: Re: VIMAGE + kldload wlan + kldload wtap panic 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: Tue, 06 Mar 2012 21:53:26 -0000 something like .if defined(KERNBUILDDIR) MKDEP= -include ${KERNBUILDDIR}/opt_global.h .else CFLAGS+= -include opt_global.h MKDEP= -include opt_global.h opt_global.h: echo "#define VIMAGE 1" > ${.TARGET} .endif ? On Tue, Mar 6, 2012 at 10:52 PM, Adrian Chadd wrote: > On 6 March 2012 13:51, Marko Zec wrote: >> On Tuesday 06 March 2012 22:49:56 Adrian Chadd wrote: >>> Wait a sec. Is it possible that the macro is a no-op when we're >>> building modules w/ VNET? >> >> Yes that's it, the VNET stuff resolves (mostly) to whitespace when options >> VIMAGE is not on! > > So the question is - how the heck are the modules supposed to pull in > the VNET config? > > is there a missing opt_.h somewhere? > > > Adrian -- Monthadar Al Jaberi