I use bhyveload to access my guest, but its memory is smaller than what I have set.
but when I use the uefi, it's normal.
bhyveload -c stdio \
-d /root/fb0.img -d /root/fb1.img -m 4G \
fd && bhyve \
-c 4 -m 4G -HP \
-s 1,nvme,/root/fb0.img \
-s 3,virtio-net,tap0 \
-s 4,nvme,/root/fb1.img \
-s 0,hostbridge \
-s 15,lpc \
-l com1,stdio \
fd last pid: 1281; load averages: 0.07, 0.02, 0.01 up 0+00:00:06 17:17:07
16 processes: 1 running, 15 sleeping
CPU: 2.1% user, 0.0% nice, 6.2% system, 0.5% interrupt, 91.2% idle
Mem: 12M Active, 16M Inact, 118M Wired, 2056K Buf, 63M Free
ARC: 32M Total, 6249K MFU, 24M MRU, 356K Anon, 247K Header, 1277K Other
16M Compressed, 47M Uncompressed, 2.90:1 Ratio
Swap: 1677M Total, 1677M Freebut when I use the uefi, it's normal.
bhyve \
-c 4 -m 4g -HP \
-s 1,nvme,/root/fb0.img \
-s 4,nvme,/root/fb1.img \
-s 3,virtio-net,tap0 \
-s 0,hostbridge \
-s 15,lpc \
-s 14,xhci,tablet \
-s 13,fbuf,tcp=0.0.0.0:0000,w=1600,h=900 \
-l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \
fbb