mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-24 02:29:53 +07:00
boot: fix pvscsi
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
4dd6a0b6bc
commit
8e0eebf817
@ -157,7 +157,13 @@ function bootDSM () {
|
||||
CMDLINE['modprobe.blacklist']+="mpt3sas"
|
||||
fi
|
||||
else
|
||||
CMDLINE['scsi_mod.scan']="sync"
|
||||
# Check for Hypervisor
|
||||
if grep -q "^flags.*hypervisor.*" /proc/cpuinfo; then
|
||||
PVSCSI="$(lsmod | grep "vmw_pvscsi" 2>/dev/null)" # KVM or VMware
|
||||
if [ -z "${PVSCSI}" ]; then
|
||||
CMDLINE['scsi_mod.scan']="sync" # Don't sync if not running on Hypervisor
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
# CMDLINE['kvm.ignore_msrs']="1"
|
||||
# CMDLINE['kvm.report_ignored_msrs']="0"
|
||||
|
Loading…
Reference in New Issue
Block a user