Changeset 43199 in vbox for trunk/src/VBox
- Timestamp:
- Sep 5, 2012 11:53:53 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsSystem.cpp
r43035 r43199 317 317 systemData.m_fUseAbsHID = mCbUseAbsHID->isChecked(); 318 318 systemData.m_fPAEEnabled = mCbPae->isChecked(); 319 systemData.m_fHwVirtExEnabled = !systemData.m_fPFHwVirtExSupported ? false : 320 mCbVirt->isChecked() || mSlCPU->value() > 1; 319 systemData.m_fHwVirtExEnabled = mCbVirt->checkState() == Qt::Checked || mSlCPU->value() > 1; 321 320 systemData.m_fNestedPagingEnabled = mCbNestedPaging->isChecked(); 322 321 systemData.m_iRAMSize = mSlMemory->value(); … … 458 457 "by pressing the OK button."); 459 458 return true; 460 }461 462 /* VT-x/AMD-V test */463 {464 /* Get system data from cache: */465 const UIDataSettingsMachineSystem &systemData = m_cache.base();466 if (mCbVirt->isChecked() && !systemData.m_fPFHwVirtExSupported)467 {468 aWarning = tr (469 "you have hardware virtualization (VT-x/AMD-V) enabled. "470 "Your host configuration does not support "471 "hardware virtualization, so it will be disabled. "472 "This will be done automatically when you accept the VM Settings "473 "by pressing the OK button.");474 return true;475 }476 459 } 477 460
Note:
See TracChangeset
for help on using the changeset viewer.