Changeset 59178 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Dec 17, 2015 6:29:27 PM (9 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/UIVMInfoDialog.cpp
r59175 r59178 666 666 VBoxGlobal::tr("Active", "details report (VT-x/AMD-V)") : 667 667 VBoxGlobal::tr("Inactive", "details report (VT-x/AMD-V)"); 668 const QString strNestedPaging = debugger.GetHWVirtExNestedPagingEnabled() ?668 const QString strNestedPaging = m_pMachineWindow->uisession()->isHWVirtExNestedPagingEnabled() ? 669 669 VBoxGlobal::tr("Active", "details report (Nested Paging)") : 670 670 VBoxGlobal::tr("Inactive", "details report (Nested Paging)"); -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIIndicatorsPool.cpp
r59175 r59178 837 837 838 838 /* Nested Paging feature: */ 839 bool bNestEnabled = debugger.GetHWVirtExNestedPagingEnabled(); 840 const QString strNestedPaging = bNestEnabled ? 839 const QString strNestedPaging = m_pSession->isHWVirtExNestedPagingEnabled() ? 841 840 VBoxGlobal::tr("Active", "details report (Nested Paging)") : 842 841 VBoxGlobal::tr("Inactive", "details report (Nested Paging)"); -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp
r59155 r59178 954 954 , m_fIsValidPointerShapePresent(false) 955 955 , m_fIsHidingHostPointer(true) 956 /* VM settings flags: */956 /* CPU hardware virtualization features for VM: */ 957 957 , m_fIsHWVirtExEnabled(false) 958 , m_fIsHWVirtExNestedPagingEnabled(false) 958 959 { 959 960 } … … 1946 1947 void UISession::loadVMSettings() 1947 1948 { 1948 /* Load VM settings: */ 1949 /* CPU hardware virtualization extensions: */ 1949 /* Load CPU hardware virtualization extension: */ 1950 1950 m_fIsHWVirtExEnabled = m_debugger.GetHWVirtExEnabled(); 1951 /* Load nested-paging CPU hardware virtualization extension: */ 1952 m_fIsHWVirtExNestedPagingEnabled = m_debugger.GetHWVirtExNestedPagingEnabled(); 1951 1953 } 1952 1954 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.h
r59155 r59178 254 254 void updateStatusVideoCapture() { sltVideoCaptureChange(); } 255 255 256 /** Returns whether HW virtualization extension is enabled. */ 256 /** @name CPU hardware virtualization features for VM. 257 ** @{ */ 258 /** Returns whether CPU hardware virtualization extension is enabled. */ 257 259 bool isHWVirtExEnabled() const { return m_fIsHWVirtExEnabled; } 260 /** Returns whether nested-paging CPU hardware virtualization extension is enabled. */ 261 bool isHWVirtExNestedPagingEnabled() const { return m_fIsHWVirtExNestedPagingEnabled; } 262 /** @} */ 258 263 259 264 signals: … … 518 523 bool m_fIsHidingHostPointer : 1; 519 524 520 /** Holds whether HW virtualization extension is enabled. */ 525 /** @name CPU hardware virtualization features for VM. 526 ** @{ */ 527 /** Holds whether CPU hardware virtualization extension is enabled. */ 521 528 bool m_fIsHWVirtExEnabled; 529 /** Holds whether nested-paging CPU hardware virtualization extension is enabled. */ 530 bool m_fIsHWVirtExNestedPagingEnabled; 531 /** @} */ 522 532 523 533 /* Friend classes: */
Note:
See TracChangeset
for help on using the changeset viewer.