HomeFreeBSD

Bug 212038 - svn commit: r304321 broken bhyve zvol VM bhyveload hang 100% WCPU

Description

Bug 212038 - svn commit: r304321 broken bhyve zvol VM bhyveload hang 100% WCPU

As the support for large blocks was enabled in loader zfs code, the
heap in userboot was left not changed, resulting with failure of detecting
and accessing zfs pools for bhyve virtual machines.

This fix does set the heap to use same amount of memory as the zfsloader
is using. To make it possible to test and verify loader functions, bhyve
is providing very useful option, but it also means, we like to keep feature
parity with [zfs]loader as close as possible.

PR: 212038
Reported by: dfh0522@gmail.com
Reviewed by: allanjude, grehan
Approved by: allanjude (mentor)
Differential Revision: https://reviews.freebsd.org/D7635