VirtualBox

Ignore:
Timestamp:
Feb 8, 2018 4:11:47 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
120746
Message:

VMM: NEM kick off.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/linux/SUPLib-linux.cpp

    r69500 r70918  
    260260
    261261
    262 /** Check if the host kernel supports VT-x or not.
     262/**
     263 * Check if the host kernel supports VT-x or not.
    263264 *
    264265 * Older Linux kernels clear the VMXE bit in the CR4 register (function
    265266 * 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.
    266270 */
    267 int suplibOsQueryVTxSupported(void)
     271int suplibOsQueryVTxSupported(const char **ppszWhy)
    268272{
    269273    char szBuf[256];
    270274    int rc = RTSystemQueryOSInfo(RTSYSOSINFO_RELEASE, szBuf, sizeof(szBuf));
    271 
    272275    if (RT_SUCCESS(rc))
    273276    {
     
    299302    }
    300303
     304    *ppszWhy = "Linux 2.6.13 or newer required!";
    301305    return VERR_SUPDRV_KERNEL_TOO_OLD_FOR_VTX;
    302306}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette