Date: Mon, 31 Oct 2011 11:26:02 +0100 From: Ed Schouten <ed@80386.nl> To: Bernhard Froehlich <decke@FreeBSD.org> Cc: Marco Steinbach <coco@executive-computing.de>, Vladimir Kushnir <vkushnir@bigmir.net>, freebsd-ports <freebsd-ports@freebsd.org> Subject: Re: VirtualBox-kmod fails to build on -CURRENT Message-ID: <20111031102602.GI2258@hoeg.nl> In-Reply-To: <01c0ad0f006967454da602c2812981ce@bluelife.at> References: <alpine.BSF.2.00.1110261224240.14451@kushnir1.kiev.ua> <4EAE690D.1070609@executive-computing.de> <01c0ad0f006967454da602c2812981ce@bluelife.at>
next in thread | previous in thread | raw e-mail | index | archive | help
--gvF4niNJ+uBMJnEh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Bernhard, * Bernhard Froehlich <decke@FreeBSD.org>, 20111031 11:04: > My first guess is that it could be enough to remove the flag but I > don't know if we need to replace some code with make_dev_p(). So i've > CC'd ed@ and hope that he can shed some light on that. >=20 > https://www.virtualbox.org/browser/trunk/src/VBox/HostDrivers/Support/fre= ebsd/SUPDrv-freebsd.c#L104 Hmmm... You can simply remove D_PSEUDO for now, but I think eventually the driver should be restructured a bit. It seems we can simply use the cdevpriv API for this, where we have a single /dev/vboxdrv device node. I think I'll take a closer look at this code more thoroughly sometime this week. --=20 Ed Schouten <ed@80386.nl> WWW: http://80386.nl/ --gvF4niNJ+uBMJnEh Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQIcBAEBAgAGBQJOrne6AAoJEG5e2P40kaK7TQAP/2Cr0qHj3G6whxCqWhaOA+82 oE70oKoelXiVRBdUaFc/FZ90efczr2u1ugVAEpTbPqGI68zZqDbDlc2YTKYLCQ+D 0F54n4YCTFqj8VywcJVgstwiqMKs4noSZJWe/eCXs9FaVyPLBFTIJ5pZIRXQm8Q7 sCqHdZVKgeEO9W72S2MKmFlp9DAAy8HZtwpy27Td3iV2tmU1cu/9T2y7jhOXwmFu Q6+4n9rZKrKG8lmyOEbiaEivelC/V94Z8KBzXS8ZIcXs7ypwgEKUUmqu8u635CXh cpXIlRrxLGr39IGjFflHOOo6R0scgyh/DvwIR+TRbeS/TDkXYTIILlqrXPitM9UR Vrcbrdg7bTmORLHgVJgz4M5VosfiY7WponhfA4n4vdbGZypRcy9DLfc+S+NlIwOK RJY5qMDuJDpngVGAwwaFfeNJ0d/Uj7afbtOaeMv3xoghAl/8UOVgKlQ7oDoyr+5J ArOkqK0PTJHgfpa9N0UaBSL1ZoiQWn/a0JBOgGGH9RUE5oIM/zVBwei7FjN9DSbU QnJfoFfQqcW7FETbpwe2Nvhn5MVQuMI501oFT98MtaknNGv/moqLhFgCy/06MwRW gDQapJRUtD4CiIpxhgPBmRYclKddll2Xyqaw0OqvTHvXz+l7bTvr3/PSOXJUM6t8 5USkvvumBTvPFG9dinhL =0mXK -----END PGP SIGNATURE----- --gvF4niNJ+uBMJnEh--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111031102602.GI2258>