You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: subr/qemu.subr
+32-2Lines changed: 32 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1109,8 +1109,38 @@ compile_machine_args()
1109
1109
${NVMMCTL_CMD} identify
1110
1110
_ret=$?
1111
1111
if [ ${_ret} -ne 0 ]; then
1112
-
${ECHO} "${W1_COLOR}Warning${N1_COLOR}: identify failed: ${N2_COLOR}${NVMMCTL_CMD} identify${N1_COLOR}. Acceleration disabled. It will work slowly${N0_COLOR}"
${ECHO} "${N2_COLOR}nvmm_module_auto_load${N1_COLOR} options is enabled via nvmm.conf, trying to load the module automatically via: ${N2_COLOR}kldload nvmm...${N0_COLOR}"
1116
+
sync
1117
+
sleep 1
1118
+
${KLDLOAD_CMD} nvmm
1119
+
_ret=$?
1120
+
if [ ${_ret} -ne 1 ]; then
1121
+
${ECHO} "${N1_COLOR}done, re-check..${N0_COLOR}"
1122
+
${NVMMCTL_CMD} identify
1123
+
_ret=$?
1124
+
if [ ${_ret} -ne 0 ]; then
1125
+
${ECHO} "${W1_COLOR}Warning${N1_COLOR}: identify failed: ${N2_COLOR}${NVMMCTL_CMD} identify${N1_COLOR}. Acceleration disabled. It will work slowly${N0_COLOR}"
0 commit comments