bhyve cannot allocate memory

Peter Grehan grehan at
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:

  Thanks - we'll submit this.



More information about the freebsd-virtualization mailing list