Changeset 54505 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Feb 25, 2015 5:12:48 PM (10 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/UIVMInfoDialog.cpp
r53006 r54505 614 614 CMachineDebugger debugger = console.GetDebugger(); 615 615 QString strVirtualization = debugger.GetHWVirtExEnabled() ? 616 VBoxGlobal::tr(" Enabled", "details report (VT-x/AMD-V)") :617 VBoxGlobal::tr(" Disabled", "details report (VT-x/AMD-V)");616 VBoxGlobal::tr("Active", "details report (VT-x/AMD-V)") : 617 VBoxGlobal::tr("Inactive", "details report (VT-x/AMD-V)"); 618 618 QString strNestedPaging = debugger.GetHWVirtExNestedPagingEnabled() ? 619 VBoxGlobal::tr(" Enabled", "details report (Nested Paging)") :620 VBoxGlobal::tr(" Disabled", "details report (Nested Paging)");619 VBoxGlobal::tr("Active", "details report (Nested Paging)") : 620 VBoxGlobal::tr("Inactive", "details report (Nested Paging)"); 621 621 QString strUnrestrictedExecution = debugger.GetHWVirtExUXEnabled() ? 622 VBoxGlobal::tr(" Enabled", "details report (Unrestricted Execution)") :623 VBoxGlobal::tr(" Disabled", "details report (Unrestricted Execution)");622 VBoxGlobal::tr("Active", "details report (Unrestricted Execution)") : 623 VBoxGlobal::tr("Inactive", "details report (Unrestricted Execution)"); 624 624 QString strParavirtProvider = gpConverter->toString(m.GetEffectiveParavirtProvider()); 625 625 -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp
r54305 r54505 1790 1790 } 1791 1791 1792 bool UIMessageCenter::warnAboutVirt NotEnabled64BitsGuest(bool fHWVirtExSupported) const1792 bool UIMessageCenter::warnAboutVirtExInactiveFor64BitsGuest(bool fHWVirtExSupported) const 1793 1793 { 1794 1794 if (fHWVirtExSupported) 1795 1795 return questionBinary(0, MessageType_Error, 1796 tr("<p>VT-x/AMD-V hardware acceleration has been enabled, but is " 1797 "not operational. Your 64-bit guest will fail to detect a " 1798 "64-bit CPU and will not be able to boot.</p><p>Please ensure " 1799 "that you have enabled VT-x/AMD-V properly in the BIOS of your " 1800 "host computer.</p>"), 1796 tr("<p>VT-x/AMD-V hardware acceleration has been enabled, but is not operational. " 1797 "Your 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot.</p>" 1798 "<p>Please ensure that you have enabled VT-x/AMD-V properly in the BIOS of your host computer.</p>"), 1801 1799 0 /* auto-confirm id */, 1802 1800 tr("Close VM"), tr("Continue")); … … 1804 1802 return questionBinary(0, MessageType_Error, 1805 1803 tr("<p>VT-x/AMD-V hardware acceleration is not available on your system. " 1806 "Your 64-bit guest will fail to detect a 64-bit CPU and will " 1807 "not be able to boot."), 1804 "Your 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot."), 1808 1805 0 /* auto-confirm id */, 1809 1806 tr("Close VM"), tr("Continue")); 1810 1807 } 1811 1808 1812 bool UIMessageCenter::warnAboutVirt NotEnabledGuestRequired(bool fHWVirtExSupported) const1809 bool UIMessageCenter::warnAboutVirtExInactiveForRecommendedGuest(bool fHWVirtExSupported) const 1813 1810 { 1814 1811 if (fHWVirtExSupported) -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.h
r54305 r54505 279 279 bool remindAboutGuruMeditation(const QString &strLogFolder); 280 280 void warnAboutVBoxSVCUnavailable() const; 281 bool warnAboutVirt NotEnabled64BitsGuest(bool fHWVirtExSupported) const;282 bool warnAboutVirt NotEnabledGuestRequired(bool fHWVirtExSupported) const;281 bool warnAboutVirtExInactiveFor64BitsGuest(bool fHWVirtExSupported) const; 282 bool warnAboutVirtExInactiveForRecommendedGuest(bool fHWVirtExSupported) const; 283 283 bool cannotStartWithoutNetworkIf(const QString &strMachineName, const QString &strIfNames) const; 284 284 void cannotStartMachine(const CConsole &console, const QString &strName) const; -
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp
r54285 r54505 989 989 /* System */ 990 990 { 991 #ifdef VBOX_WITH_FULL_DETAILS_REPORT 991 992 /* BIOS Settings holder */ 992 993 CBIOSSettings biosSettings = aMachine.GetBIOSSettings(); 994 #endif /* VBOX_WITH_FULL_DETAILS_REPORT */ 993 995 994 996 /* System details row count: */ -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIIndicatorsPool.cpp
r54285 r54505 838 838 bool bVirtEnabled = debugger.GetHWVirtExEnabled(); 839 839 QString virtualization = bVirtEnabled ? 840 VBoxGlobal::tr(" Enabled", "details report (VT-x/AMD-V)") :841 VBoxGlobal::tr(" Disabled", "details report (VT-x/AMD-V)");840 VBoxGlobal::tr("Active", "details report (VT-x/AMD-V)") : 841 VBoxGlobal::tr("Inactive", "details report (VT-x/AMD-V)"); 842 842 843 843 /* Nested Paging feature: */ 844 844 bool bNestEnabled = debugger.GetHWVirtExNestedPagingEnabled(); 845 845 QString nestedPaging = bNestEnabled ? 846 VBoxGlobal::tr(" Enabled", "details report (Nested Paging)") :847 VBoxGlobal::tr(" Disabled", "details report (Nested Paging)");846 VBoxGlobal::tr("Active", "details report (Nested Paging)") : 847 VBoxGlobal::tr("Inactive", "details report (Nested Paging)"); 848 848 849 849 /* Unrestricted Execution feature: */ 850 850 bool bUXEnabled = debugger.GetHWVirtExUXEnabled(); 851 851 QString unrestrictExec = bUXEnabled ? 852 VBoxGlobal::tr(" Enabled", "details report (Unrestricted Execution)") :853 VBoxGlobal::tr(" Disabled", "details report (Unrestricted Execution)");852 VBoxGlobal::tr("Active", "details report (Unrestricted Execution)") : 853 VBoxGlobal::tr("Inactive", "details report (Unrestricted Execution)"); 854 854 855 855 /* CPU Execution Cap feature: */ -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp
r54459 r54505 1849 1849 const bool fRecommendVirtEx = vboxGlobal().virtualBox().GetGuestOSType(guest().GetOSTypeId()).GetRecommendedVirtEx(); 1850 1850 AssertMsg(!fIs64BitsGuest || fRecommendVirtEx, ("Virtualization support missed for 64bit guest!\n")); 1851 bool fIsVirtEnabled= debugger().GetHWVirtExEnabled();1852 if (fRecommendVirtEx && !fIsVirt Enabled)1851 const bool fIsVirtActive = debugger().GetHWVirtExEnabled(); 1852 if (fRecommendVirtEx && !fIsVirtActive) 1853 1853 { 1854 1854 /* Check whether vt-x / amd-v supported: */ … … 1861 1861 bool fShouldWeClose; 1862 1862 if (fIs64BitsGuest) 1863 fShouldWeClose = msgCenter().warnAboutVirt NotEnabled64BitsGuest(fVTxAMDVSupported);1863 fShouldWeClose = msgCenter().warnAboutVirtExInactiveFor64BitsGuest(fVTxAMDVSupported); 1864 1864 else 1865 fShouldWeClose = msgCenter().warnAboutVirt NotEnabledGuestRequired(fVTxAMDVSupported);1865 fShouldWeClose = msgCenter().warnAboutVirtExInactiveForRecommendedGuest(fVTxAMDVSupported); 1866 1866 1867 1867 /* If user asked to close VM: */
Note:
See TracChangeset
for help on using the changeset viewer.