Changeset 33543 in vbox for trunk/src/VBox/Main/MachineImpl.cpp
- Timestamp:
- Oct 28, 2010 10:10:22 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/MachineImpl.cpp
r33540 r33543 66 66 #include <iprt/cpp/xml.h> /* xml::XmlFileWriter::s_psz*Suff. */ 67 67 #include <iprt/string.h> 68 #include <iprt/system.h>69 68 70 69 #include <VBox/com/array.h> … … 155 154 mHWVirtExNestedPagingEnabled = true; 156 155 #if HC_ARCH_BITS == 64 157 /* Default value decision pending. */ 158 uint64_t cbRam = 0; 159 160 if ( RTSystemQueryTotalRam(&cbRam) == VINF_SUCCESS 161 && cbRam >= (UINT64_C(6) * _1G)) 162 { 163 mHWVirtExLargePagesEnabled = true; 164 } 165 else 166 mHWVirtExLargePagesEnabled = false; 156 mHWVirtExLargePagesEnabled = true; 167 157 #else 168 158 /* Not supported on 32 bits hosts. */
Note:
See TracChangeset
for help on using the changeset viewer.