Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Oct 2015 11:39:37 -0600
From:      John Nielsen <lists@jnielsen.net>
To:        Peter Grehan <grehan@freebsd.org>
Cc:        freebsd-virtualization@freebsd.org
Subject:   Re: error running grub-bhyve with -S
Message-ID:  <8B7A0F48-9307-405A-A7F3-5E1B579DAA34@jnielsen.net>
In-Reply-To: <56291C6F.9070405@freebsd.org>
References:  <71AAD86C-6966-46AA-BD73-2D0CE1E2C213@jnielsen.net> <56291C6F.9070405@freebsd.org>

index | next in thread | previous in thread | raw e-mail

On Oct 22, 2015, at 11:27 AM, Peter Grehan <grehan@freebsd.org> wrote:

>> # bhyvectl —vm=vm0 --destroy
>> # grub-bhyve -m /images/vm0-device.map -M 1024 -r hd1 -S vm0
>> Could not setup memory for VM
>> Error in initializing VM
> 
> The -S option will force allocation of guest memory (required by passthru). Is there 1G of free mem available on the machine when grub-bhyve was run ?

Hi, thanks for the response. Yes, the machine had something like 6GB free (not including cache/buf). I also tried running grub-bhyve with smaller memory values down to and including 32MB (just to see if it would work, not because I expect my VM to run with that), and without a -M flag (which, IIRC, defaults to 256MB). I always got the same error.

JN



help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8B7A0F48-9307-405A-A7F3-5E1B579DAA34>