Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Nov 2014 19:27:52 -0800
From:      Peter Grehan <grehan@freebsd.org>
To:        Shawn Webb <lattera@gmail.com>
Cc:        freebsd-virtualization@freebsd.org
Subject:   Re: bhyve cannot allocate memory
Message-ID:  <54715438.3090905@freebsd.org>
In-Reply-To: <CADt0fhxEavv5e6tbmORxUZgPNGQNZiu2O=PtO6aKhW%2B_fkRSZQ@mail.gmail.com>
References:  <20141122215245.d9380cc4e43cb5e60d479009@gmail.com>	<20141122220202.09523b0ae828993174af05d8@gmail.com>	<5471513C.6040400@freebsd.org> <CADt0fhxEavv5e6tbmORxUZgPNGQNZiu2O=PtO6aKhW%2B_fkRSZQ@mail.gmail.com>

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

> It's hardenedBSD. I'll try a stock build tomorrow. The only change we
> have that could affect bhyve is the removal of map_at_zero.

  This may be the issue. bhyve creates a kernel-use-only vmspace that 
represents guest memory (starting at 0), and is used to allow the VM 
system to manage the EPT paging structures (full details in the 
AsiaBSDcon paper at 
http://people.freebsd.org/~neel/bhyve/bhyve_nested_paging.pdf).

  Is there a way to bypass the map-at-zero check for this usage in 
HardenedBSD ?

later,

Peter.




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