error running grub-bhyve with -S

John Nielsen lists at jnielsen.net
Thu Oct 22 17:39:41 UTC 2015


On Oct 22, 2015, at 11:27 AM, Peter Grehan <grehan at 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



More information about the freebsd-virtualization mailing list