VirtualBox

Changeset 16087 in vbox


Ignore:
Timestamp:
Jan 20, 2009 3:17:15 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
41794
Message:

FE/Qt4: 3392: Create nested paging checkbox.

Location:
trunk/src/VBox/Frontends/VirtualBox4
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxGlobal.cpp

    r16076 r16087  
    21262126            + QString (sSectionItemTpl2).arg (tr ("IO APIC", "details report"), "%7")
    21272127            + QString (sSectionItemTpl2).arg (tr ("VT-x/AMD-V", "details report"), "%8")
    2128             + QString (sSectionItemTpl2).arg (tr ("PAE/NX", "details report"), "%9")
    2129             + QString (sSectionItemTpl2).arg (tr ("3D Acceleration", "details report"), "%10");
     2128            + QString (sSectionItemTpl2).arg (tr ("Nested Paging", "details report"), "%9")
     2129            + QString (sSectionItemTpl2).arg (tr ("PAE/NX", "details report"), "%10")
     2130            + QString (sSectionItemTpl2).arg (tr ("3D Acceleration", "details report"), "%11");
    21302131
    21312132        sGeneralFullHrefTpl = QString (sSectionHrefTpl)
    2132             .arg (2 + 10) /* rows */
     2133            .arg (2 + 11) /* rows */
    21332134            .arg (":/machine_16px.png", /* icon */
    21342135                  "#general", /* link */
     
    21362137                  generalItems); /* items */
    21372138        sGeneralFullBoldTpl = QString (sSectionBoldTpl)
    2138             .arg (2 + 10) /* rows */
     2139            .arg (2 + 11) /* rows */
    21392140            .arg (":/machine_16px.png", /* icon */
    21402141                  "#general", /* link */
     
    22422243                       tr ("Disabled", "details report (VT-x/AMD-V)");
    22432244
     2245        /* Nested Paging */
     2246        QString nested = aMachine.GetHWVirtExNestedPagingEnabled()
     2247            ? tr ("Enabled", "details report (Nested Paging)")
     2248            : tr ("Disabled", "details report (Nested Paging)");
     2249
    22442250        /* PAE/NX */
    22452251        QString pae = aMachine.GetPAEEnabled()
     
    22632269                .arg (ioapic)
    22642270                .arg (virt)
     2271                .arg (nested)
    22652272                .arg (pae)
    22662273                .arg (acc3d)
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxVMInformationDlg.cpp

    r15185 r16087  
    429429            VBoxGlobal::tr ("Disabled", "details report (VT-x/AMD-V)");
    430430        QString nested = console.GetDebugger().GetHWVirtExNestedPagingEnabled() ?
    431             tr ("Enabled", "nested paging") : tr ("Disabled", "nested paging");
     431            VBoxGlobal::tr ("Enabled", "details report (Nested Paging)") :
     432            VBoxGlobal::tr ("Disabled", "details report (Nested Paging)");
    432433        QString addInfo = console.GetGuest().GetAdditionsVersion();
    433434        uint addVersion = addInfo.toUInt();
     
    453454        result += formatValue (tr ("Screen Resolution"), resolution, maxLength);
    454455        result += formatValue (VBoxGlobal::tr ("VT-x/AMD-V", "details report"), virtualization, maxLength);
    455         result += formatValue (tr ("Nested Paging"), nested, maxLength);
     456        result += formatValue (VBoxGlobal::tr ("Nested Paging", "details report"), nested, maxLength);
    456457        result += formatValue (tr ("Guest Additions"), addVerisonStr, maxLength);
    457458        result += formatValue (tr ("Guest OS Type"), osType, maxLength);
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxVMSettingsGeneral.cpp

    r14807 r16087  
    207207        mCbVirt->setCheckState (Qt::Unchecked);
    208208
     209    /* Nested Paging */
     210    mCbNestedPaging->setEnabled (fVTxAMDVSupported);
     211    mCbNestedPaging->setChecked (aMachine.GetHWVirtExNestedPagingEnabled());
     212
    209213    /* PAE/NX */
    210214    bool fPAESupported = vboxGlobal().virtualBox().GetHost()
     
    286290        mCbVirt->checkState() == Qt::Checked ? KTSBool_True : KTSBool_False);
    287291
     292    /* Nested Paging */
     293    mMachine.SetHWVirtExNestedPagingEnabled (mCbNestedPaging->isChecked());
     294
    288295    /* PAE/NX */
    289296    mMachine.SetPAEEnabled (mCbPae->isChecked());
     
    362369    setTabOrder (mLeRam, mSlVideo);
    363370    setTabOrder (mSlVideo, mLeVideo);
    364 
    365     setTabOrder (mLeVideo, mTwBootOrder);
     371    setTabOrder (mLeVideo, mCb3D);
     372
     373    setTabOrder (mCb3D, mTwBootOrder);
    366374    setTabOrder (mTwBootOrder, mTbBootItemUp);
    367375    setTabOrder (mTbBootItemUp, mTbBootItemDown);
     
    369377    setTabOrder (mCbAcpi, mCbApic);
    370378    setTabOrder (mCbApic, mCbVirt);
    371     setTabOrder (mCbVirt, mCbPae);
    372     setTabOrder (mCbPae, mCb3D);
    373     setTabOrder (mCb3D, mCbClipboard);
     379    setTabOrder (mCbVirt, mCbNestedPaging);
     380    setTabOrder (mCbNestedPaging, mCbPae);
     381    setTabOrder (mCbPae, mCbClipboard);
    374382    setTabOrder (mCbClipboard, mCbIDEController);
    375383    setTabOrder (mCbIDEController, mPsSnapshot);
  • trunk/src/VBox/Frontends/VirtualBox4/ui/VBoxVMSettingsGeneral.ui

    r15603 r16087  
    699699         </item>
    700700         <item>
     701          <widget class="QCheckBox" name="mCbNestedPaging" >
     702           <property name="sizePolicy" >
     703            <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
     704             <horstretch>0</horstretch>
     705             <verstretch>0</verstretch>
     706            </sizepolicy>
     707           </property>
     708           <property name="whatsThis" >
     709            <string>When checked, the virtual machine will try to make use of the nested paging extension of Intel VT-x and AMD-V.</string>
     710           </property>
     711           <property name="text" >
     712            <string>Enable Nested Pa&amp;ging</string>
     713           </property>
     714          </widget>
     715         </item>
     716         <item>
    701717          <widget class="QCheckBox" name="mCbPae" >
    702718           <property name="sizePolicy" >
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