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.



freebsd-virtualization@freebsd.org mailing list
To unsubscribe, send any mail to 

Reply via email to