VirtualBox

Changeset 46102 in vbox


Ignore:
Timestamp:
May 15, 2013 4:07:01 PM (12 years ago)
Author:
vboxsync
Message:

FE/Qt: Added unrestricted execution usage indicators.

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
2 edited

Legend:

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

    r43869 r46102  
    486486            VBoxGlobal::tr ("Enabled", "details report (Nested Paging)") :
    487487            VBoxGlobal::tr ("Disabled", "details report (Nested Paging)");
     488        QString unrestricted = debugger.GetHWVirtExUXEnabled() ?
     489            VBoxGlobal::tr ("Enabled", "details report (Unrestricted Execution)") :
     490            VBoxGlobal::tr ("Disabled", "details report (Unrestricted Execution)");
    488491
    489492        CGuest guest = console.GetGuest();
     
    510513        /* Searching for longest string */
    511514        QStringList valuesList;
    512         valuesList << resolution << virtualization << nested << addVersionStr << osType << vrdeInfo;
     515        valuesList << resolution << virtualization << nested << unrestricted << addVersionStr << osType << vrdeInfo;
    513516        int maxLength = 0;
    514517        foreach (const QString &value, valuesList)
     
    522525        result += formatValue (VBoxGlobal::tr ("VT-x/AMD-V", "details report"), virtualization, maxLength);
    523526        result += formatValue (VBoxGlobal::tr ("Nested Paging", "details report"), nested, maxLength);
     527        result += formatValue (VBoxGlobal::tr ("Unrestricted Execution", "details report"), unrestricted, maxLength);
    524528        result += formatValue (tr ("Guest Additions"), addVersionStr, maxLength);
    525529        result += formatValue (tr ("Guest OS Type"), osType, maxLength);
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIIndicatorsPool.cpp

    r44529 r46102  
    582582            VBoxGlobal::tr("Disabled", "nested paging");
    583583
     584        bool bUXEnabled = debugger.GetHWVirtExUXEnabled();
     585        QString unrestrictExec = bUXEnabled ?
     586            VBoxGlobal::tr("Enabled", "unrestricted execution") :
     587            VBoxGlobal::tr("Disabled", "unrestricted execution");
     588
    584589        QString strCPUExecCap = QString::number(console.GetMachine().GetCPUExecutionCap());
    585590
     
    589594                                            "<br><nobr><b>%1:</b>&nbsp;%2</nobr>"
    590595                                            "<br><nobr><b>%3:</b>&nbsp;%4</nobr>"
    591                                             "<br><nobr><b>%5:</b>&nbsp;%6%</nobr>",
     596                                            "<br><nobr><b>%5:</b>&nbsp;%6</nobr>"
     597                                            "<br><nobr><b>%7:</b>&nbsp;%8%</nobr>",
    592598                                            "Virtualization Stuff LED")
    593599                    .arg(VBoxGlobal::tr("VT-x/AMD-V", "details report"), virtualization)
    594600                    .arg(VBoxGlobal::tr("Nested Paging"), nestedPaging)
     601                    .arg(VBoxGlobal::tr("Unrestricted Execution"), unrestrictExec)                   
    595602                    .arg(VBoxGlobal::tr("Execution Cap", "details report"), strCPUExecCap));
    596603
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