- Timestamp:
- Dec 21, 2015 12:56:12 PM (9 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 4 edited
-
UIVMInfoDialog.cpp (modified) (2 diffs)
-
runtime/UIIndicatorsPool.cpp (modified) (1 diff)
-
runtime/UISession.cpp (modified) (2 diffs)
-
runtime/UISession.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/UIVMInfoDialog.cpp
r59178 r59196 662 662 663 663 /* Deterine virtualization attributes: */ 664 CMachineDebugger debugger = console.GetDebugger();665 664 const QString strVirtualization = m_pMachineWindow->uisession()->isHWVirtExEnabled() ? 666 665 VBoxGlobal::tr("Active", "details report (VT-x/AMD-V)") : … … 669 668 VBoxGlobal::tr("Active", "details report (Nested Paging)") : 670 669 VBoxGlobal::tr("Inactive", "details report (Nested Paging)"); 671 const QString strUnrestrictedExecution = debugger.GetHWVirtExUXEnabled() ?670 const QString strUnrestrictedExecution = m_pMachineWindow->uisession()->isHWVirtExUXEnabled() ? 672 671 VBoxGlobal::tr("Active", "details report (Unrestricted Execution)") : 673 672 VBoxGlobal::tr("Inactive", "details report (Unrestricted Execution)"); -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIIndicatorsPool.cpp
r59178 r59196 842 842 843 843 /* Unrestricted Execution feature: */ 844 bool bUXEnabled = debugger.GetHWVirtExUXEnabled(); 845 const QString strUnrestrictExec = bUXEnabled ? 844 const QString strUnrestrictExec = m_pSession->isHWVirtExUXEnabled() ? 846 845 VBoxGlobal::tr("Active", "details report (Unrestricted Execution)") : 847 846 VBoxGlobal::tr("Inactive", "details report (Unrestricted Execution)"); -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp
r59178 r59196 957 957 , m_fIsHWVirtExEnabled(false) 958 958 , m_fIsHWVirtExNestedPagingEnabled(false) 959 , m_fIsHWVirtExUXEnabled(false) 959 960 { 960 961 } … … 1951 1952 /* Load nested-paging CPU hardware virtualization extension: */ 1952 1953 m_fIsHWVirtExNestedPagingEnabled = m_debugger.GetHWVirtExNestedPagingEnabled(); 1954 /* Load whether the VM is currently making use of the unrestricted execution feature of VT-x: */ 1955 m_fIsHWVirtExUXEnabled = m_debugger.GetHWVirtExUXEnabled(); 1953 1956 } 1954 1957 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.h
r59178 r59196 260 260 /** Returns whether nested-paging CPU hardware virtualization extension is enabled. */ 261 261 bool isHWVirtExNestedPagingEnabled() const { return m_fIsHWVirtExNestedPagingEnabled; } 262 /** Returns whether the VM is currently making use of the unrestricted execution feature of VT-x. */ 263 bool isHWVirtExUXEnabled() const { return m_fIsHWVirtExUXEnabled; } 262 264 /** @} */ 263 265 … … 529 531 /** Holds whether nested-paging CPU hardware virtualization extension is enabled. */ 530 532 bool m_fIsHWVirtExNestedPagingEnabled; 533 /** Holds whether the VM is currently making use of the unrestricted execution feature of VT-x. */ 534 bool m_fIsHWVirtExUXEnabled; 531 535 /** @} */ 532 536
Note:
See TracChangeset
for help on using the changeset viewer.

