Changeset 91765 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Oct 15, 2021 2:39:28 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 147537
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/VM.cpp
r91520 r91765 84 84 #include <iprt/semaphore.h> 85 85 #include <iprt/string.h> 86 #ifdef RT_OS_DARWIN 87 # include <iprt/system.h> 88 #endif 86 89 #include <iprt/time.h> 87 90 #include <iprt/thread.h> … … 179 182 if (pfnVMAtError) 180 183 rc = VMR3AtErrorRegister(pUVM, pfnVMAtError, pvUserVM); 184 185 #ifdef RT_OS_DARWIN 186 /* 187 * We currently do not run on darwin 12+ as we still have a few calls to 188 * ring-3 left in VMMR0 that forces us to use a custom stack for parts of 189 * the code. This will cause falsely detected kernel stack overflow panics 190 * in machine_switch_context and pmap_switch_context. See @bugref{10124}, 191 * @bugref{10093} and @bugref{10086}. 192 */ 193 if (RT_SUCCESS(rc)) 194 { 195 char szDarwinVersion[512]; 196 RTSystemQueryOSInfo(RTSYSOSINFO_RELEASE, szDarwinVersion, sizeof(szDarwinVersion)); 197 if (RTStrVersionCompare(szDarwinVersion, "21.0.0") >= 0) 198 rc = vmR3SetErrorU(pUVM, VERR_NOT_SUPPORTED, RT_SRC_POS, 199 "macOS 12 and later is not supported yet by this VirtualBox version - sorry"); 200 } 201 #endif 181 202 if (RT_SUCCESS(rc)) 182 203 {
Note:
See TracChangeset
for help on using the changeset viewer.