From owner-freebsd-virtualization@FreeBSD.ORG Sun Nov 23 03:46:44 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B97ABF48; Sun, 23 Nov 2014 03:46:44 +0000 (UTC) Received: from mail-oi0-x230.google.com (mail-oi0-x230.google.com [IPv6:2607:f8b0:4003:c06::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 79977D27; Sun, 23 Nov 2014 03:46:44 +0000 (UTC) Received: by mail-oi0-f48.google.com with SMTP id u20so5293695oif.21 for ; Sat, 22 Nov 2014 19:46:43 -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=bJEhZd/a3mQ7/3wqRt37CgMROi6m/EcZqqlAkcPZLlE=; b=S9DmS5OVtSG98UqNrjpo6kwxzHxR283FD1K/KL4K3beT21F3Ew4JL7Zc8IRy91WBLL oPC9XZ41EkMv4yEAlK52Ok+B9ytS+wbfhs8KFA88jXiH42cqFhHktzvY0uIITY466FeW LHdSi3A3v6oCTeQOsKYLs8d38ydYnprNhn3Ul1TYFbEhql2yNwW8GlnowKMpRkZhSKh4 kjjfbGkkuRZoEemqQWNA88O3ghXFAVvBMW2/K0oc7mj8cKVjXUFl/1NeE7l3rNwLfXhm 1QS0X6BEgYmvikeseSHSmqpn/ATnp9i1nctv7Je1vBD1p0daIxX8DYV2V9KIHeKr6iC/ K48g== MIME-Version: 1.0 X-Received: by 10.182.104.40 with SMTP id gb8mr7187321obb.61.1416714403712; Sat, 22 Nov 2014 19:46:43 -0800 (PST) Received: by 10.202.184.7 with HTTP; Sat, 22 Nov 2014 19:46:43 -0800 (PST) Received: by 10.202.184.7 with HTTP; Sat, 22 Nov 2014 19:46:43 -0800 (PST) In-Reply-To: <54715822.2010309@freebsd.org> References: <20141122215245.d9380cc4e43cb5e60d479009@gmail.com> <20141122220202.09523b0ae828993174af05d8@gmail.com> <5471513C.6040400@freebsd.org> <54715438.3090905@freebsd.org> <54715822.2010309@freebsd.org> Date: Sat, 22 Nov 2014 22:46:43 -0500 Message-ID: Subject: Re: bhyve cannot allocate memory From: Shawn Webb To: Peter Grehan Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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: Sun, 23 Nov 2014 03:46:44 -0000 On Nov 22, 2014 10:44 PM, "Peter Grehan" wrote: > > Hi Shawn, > > >> There isn't. map_at_zero was fully removed. I can revert that change, >> though. Or is there a way to make bhyve work with out it (with a patch)? > > > I just set > > sysctl security.bsd.map_at_zero=1 > > .. on my test system and was able to run bhyveload without any issues. > > Does HardenedBSD have additional checks in the VM system ? > > later, > > Peter. Nope. What if you have map_at_zero set to 0? Dies bhyve work then?