VirtualBox

Changeset 18092 in vbox


Ignore:
Timestamp:
Mar 19, 2009 1:20:37 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
44742
Message:

Fe/Qt4: Don't disable the VT-x/AMD-V checkbox when it's checked; also don't enable VT-x/AMD-V by default when it's not supported then.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxVMSettingsGeneral.cpp

    r17885 r18092  
    213213                             .GetProcessorFeature (KProcessorFeature_HWVirtEx);
    214214    mCbVirt->setEnabled (fVTxAMDVSupported);
    215     aMachine.GetHWVirtExEnabled() == KTSBool_True ?
    216         mCbVirt->setCheckState (Qt::Checked) :
    217         mCbVirt->setCheckState (Qt::Unchecked);
     215    if (fVTxAMDVSupported)
     216    {
     217        aMachine.GetHWVirtExEnabled() == KTSBool_True ?
     218            mCbVirt->setCheckState (Qt::Checked) :
     219            mCbVirt->setCheckState (Qt::Unchecked);
     220    }
     221    else mCbVirt->setCheckState (Qt::Unchecked);
    218222
    219223    /* Nested Paging */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette