Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2013 16:49:09 -0700
From:      Neel Natu <neelnatu@gmail.com>
To:        freebsd-virtualization@freebsd.org
Subject:   Re: bhyve: simplify memory assignment to VMs
Message-ID:  <CAFgRE9Ex2s7w-FgmK1QJ424zX-GS2PEcQvkapVxCn=n5C=e6bw@mail.gmail.com>
In-Reply-To: <CAFgRE9HeuuRZkdQXjN14Qs4Ema-t=Y1EbvEiOoj9Wq7sG=TOew@mail.gmail.com>
References:  <CAFgRE9HeuuRZkdQXjN14Qs4Ema-t=Y1EbvEiOoj9Wq7sG=TOew@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Mon, Mar 11, 2013 at 11:08 AM, Neel Natu <neelnatu@gmail.com> 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 <memsize>" 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFgRE9Ex2s7w-FgmK1QJ424zX-GS2PEcQvkapVxCn=n5C=e6bw>