Changeset 26457 in vbox
- Timestamp:
- Feb 12, 2010 10:55:03 AM (15 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 3 edited
-
VBoxConsoleWnd.cpp (modified) (1 diff)
-
globals/VBoxProblemReporter.cpp (modified) (1 diff)
-
globals/VBoxProblemReporter.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp
r26217 r26457 2898 2898 { 2899 2899 bool ret; 2900 bool fVTxAMDVSupported = vboxGlobal().virtualBox().GetHost() 2901 .GetProcessorFeature (KProcessorFeature_HWVirtEx); 2900 2902 2901 2903 vmPause (true); 2902 2904 2903 2905 if (is64BitsGuest) 2904 ret = vboxProblem().warnAboutVirtNotEnabled64BitsGuest( );2906 ret = vboxProblem().warnAboutVirtNotEnabled64BitsGuest(fVTxAMDVSupported); 2905 2907 else 2906 ret = vboxProblem().warnAboutVirtNotEnabledGuestRequired( );2908 ret = vboxProblem().warnAboutVirtNotEnabledGuestRequired(fVTxAMDVSupported); 2907 2909 2908 2910 if (ret == true) -
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxProblemReporter.cpp
r25464 r26457 794 794 } 795 795 796 bool VBoxProblemReporter::warnAboutVirtNotEnabled64BitsGuest() 797 { 798 return messageOkCancel (mainWindowShown(), Error, 799 tr ("<p>VT-x/AMD-V hardware acceleration has been enabled, but is " 800 "not operational. Your 64-bit guest will fail to detect a " 801 "64-bit CPU and will not be able to boot.</p><p>Please ensure " 802 "that you have enabled VT-x/AMD-V properly in the BIOS of your " 803 "host computer.</p>"), 804 0 /* aAutoConfirmId */, 805 tr ("Close VM"), tr ("Continue")); 806 } 807 808 bool VBoxProblemReporter::warnAboutVirtNotEnabledGuestRequired() 809 { 810 return messageOkCancel (mainWindowShown(), Error, 811 tr ("<p>VT-x/AMD-V hardware acceleration has been enabled, but is " 812 "not operational. Certain guests (e.g. OS/2 and QNX) require " 813 "this feature.</p><p>Please ensure " 814 "that you have enabled VT-x/AMD-V properly in the BIOS of your " 815 "host computer.</p>"), 816 0 /* aAutoConfirmId */, 817 tr ("Close VM"), tr ("Continue")); 796 bool VBoxProblemReporter::warnAboutVirtNotEnabled64BitsGuest(bool fHWVirtExSupported) 797 { 798 if (fHWVirtExSupported) 799 return messageOkCancel (mainWindowShown(), Error, 800 tr ("<p>VT-x/AMD-V hardware acceleration has been enabled, but is " 801 "not operational. Your 64-bit guest will fail to detect a " 802 "64-bit CPU and will not be able to boot.</p><p>Please ensure " 803 "that you have enabled VT-x/AMD-V properly in the BIOS of your " 804 "host computer.</p>"), 805 0 /* aAutoConfirmId */, 806 tr ("Close VM"), tr ("Continue")); 807 else 808 return messageOkCancel (mainWindowShown(), Error, 809 tr ("<p>VT-x/AMD-V hardware acceleration is not available on your system. " 810 "Your 64-bit guest will fail to detect a 64-bit CPU and will " 811 "not be able to boot."), 812 0 /* aAutoConfirmId */, 813 tr ("Close VM"), tr ("Continue")); 814 } 815 816 bool VBoxProblemReporter::warnAboutVirtNotEnabledGuestRequired(bool fHWVirtExSupported) 817 { 818 if (fHWVirtExSupported) 819 return messageOkCancel (mainWindowShown(), Error, 820 tr ("<p>VT-x/AMD-V hardware acceleration has been enabled, but is " 821 "not operational. Certain guests (e.g. OS/2 and QNX) require " 822 "this feature.</p><p>Please ensure " 823 "that you have enabled VT-x/AMD-V properly in the BIOS of your " 824 "host computer.</p>"), 825 0 /* aAutoConfirmId */, 826 tr ("Close VM"), tr ("Continue")); 827 else 828 return messageOkCancel (mainWindowShown(), Error, 829 tr ("<p>VT-x/AMD-V hardware acceleration is not available on your system. " 830 "Certain guests (e.g. OS/2 and QNX) require this feature and will " 831 "fail to boot without it.</p>"), 832 0 /* aAutoConfirmId */, 833 tr ("Close VM"), tr ("Continue")); 818 834 } 819 835 -
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxProblemReporter.h
r25177 r26457 207 207 208 208 void cannotSendACPIToMachine(); 209 bool warnAboutVirtNotEnabled64BitsGuest( );210 bool warnAboutVirtNotEnabledGuestRequired( );209 bool warnAboutVirtNotEnabled64BitsGuest(bool fHWVirtExSupported); 210 bool warnAboutVirtNotEnabledGuestRequired(bool fHWVirtExSupported); 211 211 212 212 void cannotSetSnapshotFolder (const CMachine &aMachine, const QString &aPath);
Note:
See TracChangeset
for help on using the changeset viewer.

