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

next in thread | previous in thread | raw e-mail | index | archive | help
>> 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.

  I can get that error if vmm.ko isn't loaded, but in that case the 
bhyvectl command would also error out and it doesn't appear to in your case.

  Some questions: Is this on FreeBSD CURRENT ? Does grub-bhyve work 
without the -S option ? Or, with -S but a different VM name ? Does the 
issue persist after a reboot ?

later,

Peter.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?562AF750.5030303>