bhyve cannot allocate memory

Peter Grehan grehan at freebsd.org
Sun Nov 23 19:45:47 UTC 2014


> Oliver fixed the problem. bhyve's vmm.ko uses VM_MIN_ADDRESS, which
> defaults to NULL in FreeBSD. We modified that to be at 64k to prevent
> NULL dereferences. Combine that with the removal of map_at_zero, NULL
> deref is not possible anymore. But since we bumped VM_MIN_ADDRESS up,
> bhyve's vmm.ko no longer attempts to map at NULL (which it absolutely
> needs to). The change Oliver made simply uses 0 instead of
> VM_MIN_ADDRESS. If this is a change FreeBSD wants upstream, we'd love
> it merged upstream.
>
> Commit for reference:
> https://github.com/HardenedBSD/hardenedBSD/commit/23bd719ce1e3a8cc42fc8317b1c7c6d9e74dcba0

  Thanks - we'll submit this.

later,

Peter.



More information about the freebsd-virtualization mailing list