From owner-freebsd-virtualization@FreeBSD.ORG Sun Nov 23 03:02:04 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D0BA59C8 for ; Sun, 23 Nov 2014 03:02:04 +0000 (UTC) Received: from mail-qa0-x22a.google.com (mail-qa0-x22a.google.com [IPv6:2607:f8b0:400d:c00::22a]) (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 872DB9F8 for ; Sun, 23 Nov 2014 03:02:04 +0000 (UTC) Received: by mail-qa0-f42.google.com with SMTP id j7so5161324qaq.29 for ; Sat, 22 Nov 2014 19:02:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=2f+b0/6AxPkkiAWQNh1U+kmcMzO+QXTmBwiV1uun3sI=; b=t+bYLxYvyVscWP3Rr17n0LlUHvbTqONYtKHOncJO3ANUepS8RXXFmVwEtYrLyGcXc7 li7fjQTTYwDLoZtkCvrxw/mTsyvhzaNxPkXDgVDqPpVbeo5FR3m2Dahsj4DKwaCGcSUa koEv7s85sBq1n+gwmzNzOXM2BdpQQI0424kqaqI/4E5Leg/1fsKMncl3ef5ozS+emDp+ srygF/+rBSMJODAdkyOUqvTT/6Vk9ZnL2OHtIp/3+v7Vd4XV1gugIeR5QTwd6o4B2RpG 3w35BHr74tLY2FgRAnbCprEJdj01wivU/xOh+Qr2hJ2TUNdOWtcXUsLRxRnvd3xEQFxr Ml1g== X-Received: by 10.224.40.202 with SMTP id l10mr18575714qae.7.1416711723715; Sat, 22 Nov 2014 19:02:03 -0800 (PST) Received: from hbsd-dev-local ([73.173.99.185]) by mx.google.com with ESMTPSA id z32sm8570416qgd.40.2014.11.22.19.02.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 22 Nov 2014 19:02:03 -0800 (PST) Date: Sat, 22 Nov 2014 22:02:02 -0500 From: Shawn Webb To: freebsd-virtualization@freebsd.org Subject: Re: bhyve cannot allocate memory Message-Id: <20141122220202.09523b0ae828993174af05d8@gmail.com> In-Reply-To: <20141122215245.d9380cc4e43cb5e60d479009@gmail.com> References: <20141122215245.d9380cc4e43cb5e60d479009@gmail.com> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.22; amd64-portbld-freebsd11.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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:02:04 -0000 On Sat, 22 Nov 2014 21:52:45 -0500 Shawn Webb wrote: > So I just built a new dev box with 32GB ram and an Intel Core i7-4790S (Haswell). I've enabled virtualization in the BIOS. I'm running 11.0-CURRENT, updated today. > > When I run `bhyveload -m 4G -d /dev/zvol/tank/vol/bhyve/latt-dev-01/disk-01 latt-dev-01`, bhyveload errors out with: vm_setup_memory: Cannot allocate memory > > But I've got 32GB ram, so I'm a little unsure as to why it can't allocate the required space. Can anyone shed some light on this? Is this a bug? > > Thanks, > > Shawn Webb Forgot to mention, I'm on r274859.