VirtualBox

Changeset 43199 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 5, 2012 11:53:53 AM (12 years ago)
Author:
vboxsync
Message:

backed out r80369

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsSystem.cpp

    r43035 r43199  
    317317    systemData.m_fUseAbsHID = mCbUseAbsHID->isChecked();
    318318    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;
    321320    systemData.m_fNestedPagingEnabled = mCbNestedPaging->isChecked();
    322321    systemData.m_iRAMSize = mSlMemory->value();
     
    458457            "by pressing the OK button.");
    459458        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         }
    476459    }
    477460
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