Changeset 70918 in vbox for trunk/src/VBox/HostDrivers/Support/linux
- Timestamp:
- Feb 8, 2018 4:11:47 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 120746
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/linux/SUPLib-linux.cpp
r69500 r70918 260 260 261 261 262 /** Check if the host kernel supports VT-x or not. 262 /** 263 * Check if the host kernel supports VT-x or not. 263 264 * 264 265 * Older Linux kernels clear the VMXE bit in the CR4 register (function 265 266 * tlb_flush_all()) leading to a host kernel panic. 267 * 268 * @returns VBox status code (no info). 269 * @param ppszWhy Where to return explanatory message. 266 270 */ 267 int suplibOsQueryVTxSupported( void)271 int suplibOsQueryVTxSupported(const char **ppszWhy) 268 272 { 269 273 char szBuf[256]; 270 274 int rc = RTSystemQueryOSInfo(RTSYSOSINFO_RELEASE, szBuf, sizeof(szBuf)); 271 272 275 if (RT_SUCCESS(rc)) 273 276 { … … 299 302 } 300 303 304 *ppszWhy = "Linux 2.6.13 or newer required!"; 301 305 return VERR_SUPDRV_KERNEL_TOO_OLD_FOR_VTX; 302 306 }
Note:
See TracChangeset
for help on using the changeset viewer.