|
1 | | -/* $Id: HM.cpp 110815 2025年08月26日 08:47:24Z ramshankar.venkataraman@oracle.com $ */ |
| 1 | +/* $Id: HM.cpp 110816 2025年08月26日 08:56:57Z ramshankar.venkataraman@oracle.com $ */ |
2 | 2 | /** @file |
3 | 3 | * HM - Intel/AMD VM Hardware Support Manager. |
4 | 4 | */ |
@@ -1184,7 +1184,9 @@ static int hmR3InitFinalizeR0(PVM pVM) |
1184 | 1184 | /* |
1185 | 1185 | * Report ring-0 init errors. |
1186 | 1186 | */ |
1187 | | - if (RT_FAILURE(pVM->hm.s.ForR3.rcInit)) |
| 1187 | + if ( RT_FAILURE(pVM->hm.s.ForR3.rcInit) |
| 1188 | + || ( !pVM->hm.s.vmx.fSupported |
| 1189 | + && !pVM->hm.s.svm.fSupported)) |
1188 | 1190 | { |
1189 | 1191 | LogRel(("HM: Failed to initialize %s: %Rrc\n", pVM->hm.s.vmx.fSupported ? "VT-x" : "AMD-V", pVM->hm.s.ForR3.rcInit)); |
1190 | 1192 | switch (pVM->hm.s.ForR3.rcInit) |
|
0 commit comments