mirror of
https://github.com/churchers/vm-bhyve.git
synced 2025-12-11 09:20:17 +01:00
No more disks limitation with latest UEFI firmware
It seems we don't need to limit the number of disks since UEFI firmware version 0.2. Tested with this setup: 2 ahci-hd, 2 nvme and 1 virtio-blk disks at the same time and no UEFI boot problem: # kenv efi-version 2.40 # kenv smbios.system.product BHYVE # sysctl kern.disks kern.disks: ada7 ada6 nda1 nda0 cd0 vtbd0
This commit is contained in:
committed by
GitHub
parent
d885a79ebd
commit
816ac135af
@@ -502,11 +502,6 @@ vm::bhyve_device_disks(){
|
||||
if [ -n "${_uefi}" ]; then
|
||||
_slot=$((_slot + 1))
|
||||
|
||||
# stop at slot 6 on uefi
|
||||
if [ ${_slot} -ge 7 ]; then
|
||||
util::log "guest" "${_name}" "ending disks at disk${_num} due to UEFI firmware limitations"
|
||||
break
|
||||
fi
|
||||
else
|
||||
_func=$((_func + 1))
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user