Changeset 43035 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Aug 28, 2012 1:19:43 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsSystem.cpp
r42551 r43035 317 317 systemData.m_fUseAbsHID = mCbUseAbsHID->isChecked(); 318 318 systemData.m_fPAEEnabled = mCbPae->isChecked(); 319 systemData.m_fHwVirtExEnabled = mCbVirt->checkState() == Qt::Checked || mSlCPU->value() > 1; 319 systemData.m_fHwVirtExEnabled = !systemData.m_fPFHwVirtExSupported ? false : 320 mCbVirt->isChecked() || mSlCPU->value() > 1; 320 321 systemData.m_fNestedPagingEnabled = mCbNestedPaging->isChecked(); 321 322 systemData.m_iRAMSize = mSlMemory->value(); … … 457 458 "by pressing the OK button."); 458 459 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 } 459 476 } 460 477
Note:
See TracChangeset
for help on using the changeset viewer.