From owner-freebsd-virtualization@FreeBSD.ORG Mon Mar 18 23:49:10 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7867CB5E for ; Mon, 18 Mar 2013 23:49:10 +0000 (UTC) (envelope-from neelnatu@gmail.com) Received: from mail-vc0-f180.google.com (mail-vc0-f180.google.com [209.85.220.180]) by mx1.freebsd.org (Postfix) with ESMTP id 3DBD3616 for ; Mon, 18 Mar 2013 23:49:09 +0000 (UTC) Received: by mail-vc0-f180.google.com with SMTP id m17so3469135vca.11 for ; Mon, 18 Mar 2013 16:49:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=rkdwPJpKENO40Mr93eQj0+2+dmlCuDrkiCJ4kjzm/Ic=; b=cRImu64pmZE0X7uD+Pqn6IxHHR98C4hXYLQlhEVddjT9UW2xI9C9qrcttTDI++HSCI gzLf8Rurv9DtnLyLKvZrzZmic3FLd5h5LoIm26N95o2zSZ9ZXytWmVlYi20dnPyOb6hi FMp3ngRuw346/AuuZK68mM+OR+aQrG1NEm6i3UyZT/A0sitBNHvHYdYffF4oj4qa5m/M tBS5CBqmFzRm2OaOpRYUOi7L3MoOFidSwbE1akJJ6lZYuXwOYt+3Cnb62a65eyMECdFP E9exkmWsxCDnxBH1ANFN1X5zewYszZZLOq+yPWC9GZhVYWC4TxVjAE1M+SdnD2pBMg3p 380Q== MIME-Version: 1.0 X-Received: by 10.52.100.5 with SMTP id eu5mr19309817vdb.66.1363650549300; Mon, 18 Mar 2013 16:49:09 -0700 (PDT) Received: by 10.220.153.203 with HTTP; Mon, 18 Mar 2013 16:49:09 -0700 (PDT) In-Reply-To: References: Date: Mon, 18 Mar 2013 16:49:09 -0700 Message-ID: Subject: Re: bhyve: simplify memory assignment to VMs From: Neel Natu To: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Mon, 18 Mar 2013 23:49:10 -0000 Hi, On Mon, Mar 11, 2013 at 11:08 AM, Neel Natu wrote: > Hi, > > I am going to commit a change soon that simplifies how memory is > assigned to a VM from a command line perspective. > > At the moment if you want to create a VM with say 8GB of memory you > need to express this as "-m 2048 -M 6144" or "-m 1024 -M 7168" or some > split that adds up to 8192MB. This is very flexible but is also very > confusing to most users who don't know or care about the location of > the PCI hole. > > I am going to change this so that the memory size is specified > entirely with the "-m " option and the "-M" option will > disappear altogether. > > Of course, this means that scripts using "-M" will break and hence > this heads up. > > I did consider making this a backward compatible change but given the > stage of development of bhyve it seemed early to start accumulating > compatibility crud. > Committed as r248477: http://svnweb.freebsd.org/base?view=revision&revision=248477 Please update your vmrun.sh scripts from /usr/share/examples/bhyve/vmrun.sh best Neel > best > Neel