bhyve: simplify memory assignment to VMs

Neel Natu neelnatu at gmail.com
Mon Mar 18 23:49:10 UTC 2013


Hi,

On Mon, Mar 11, 2013 at 11:08 AM, Neel Natu <neelnatu at 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


More information about the freebsd-virtualization mailing list