Changeset 50310 in vbox for trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic1.cpp
- Timestamp:
- Feb 3, 2014 3:11:24 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic1.cpp
r50253 r50310 33 33 /* COM includes: */ 34 34 #include "CSystemProperties.h" 35 36 /* Other VBox includes: */37 #include <iprt/system.h>38 35 39 36 /* Defines some patterns to guess the right OS type. Should be in sync with … … 163 160 : m_strGroup(strGroup) 164 161 { 162 CHost host = vboxGlobal().host(); 163 m_fSupportsHWVirtEx = host.GetProcessorFeature(KProcessorFeature_HWVirtEx); 164 m_fSupportsLongMode = host.GetProcessorFeature(KProcessorFeature_LongMode); 165 165 } 166 166 … … 168 168 { 169 169 /* Do not forget about achitecture bits: */ 170 strNewName += QString::number(ARCH_BITS);170 strNewName += m_fSupportsHWVirtEx && m_fSupportsLongMode ? "64" : "32"; 171 171 172 172 /* Search for a matching OS type based on the string the user typed already. */
Note:
See TracChangeset
for help on using the changeset viewer.