FreeBSD/amd64 requires 256MiB to boot UEFI, 128MB simply doesn't work.

128MiB still works for Legacy booting, however. Go ahead and do 256MiB
for all amd64 boxes, since the number of such boxes < 256MiB is
vanishingly small.
This commit is contained in:
Warner Losh 2018-06-17 02:49:42 +00:00
parent 9fdff46b42
commit 48cb46aaaf

View file

@ -315,7 +315,7 @@ qemu_amd64_legacy()
img=$1
sh=$2
echo "qemu-system-x86_64 --drive file=${img},format=raw ${qser}" > $sh
echo "qemu-system-x86_64 -m 256m --drive file=${img},format=raw ${qser}" > $sh
}
qemu_amd64_uefi()
@ -323,7 +323,7 @@ qemu_amd64_uefi()
img=$1
sh=$2
echo "qemu-system-x86_64 -bios ~/bios/OVMF-X64.fd --drive file=${img},format=raw ${qser}" > $sh
echo "qemu-system-x86_64 -m 256m -bios ~/bios/OVMF-X64.fd --drive file=${img},format=raw ${qser}" > $sh
}
qemu_amd64_both()
@ -331,8 +331,8 @@ qemu_amd64_both()
img=$1
sh=$2
echo "qemu-system-x86_64 --drive file=${img},format=raw ${qser}" > $sh
echo "qemu-system-x86_64 -bios ~/bios/OVMF-X64.fd --drive file=${img},format=raw ${qser}" >> $sh
echo "qemu-system-x86_64 -m 256m --drive file=${img},format=raw ${qser}" > $sh
echo "qemu-system-x86_64 -m 256m -bios ~/bios/OVMF-X64.fd --drive file=${img},format=raw ${qser}" >> $sh
}
# arm