Changeset 20285 in vbox
- Timestamp:
- Jun 4, 2009 1:56:13 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 48168
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/include/VBoxVMSettingsSystem.h
r19837 r20285 38 38 39 39 bool isHWVirtExEnabled() const; 40 int cpuCount() const; 40 41 41 42 signals: -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxSettingsDialogSpecific.cpp
r19877 r20285 526 526 * different pages of VM Settings dialog */ 527 527 528 /* Guest OS type & VT-x/AMD-V option correlation test */529 528 if (aPage == mSelector->idToPage (GeneralId) || 530 529 aPage == mSelector->idToPage (SystemId)) … … 535 534 qobject_cast <VBoxVMSettingsSystem*> (mSelector->idToPage (SystemId)); 536 535 536 /* Guest OS type & VT-x/AMD-V option correlation test */ 537 537 if (generalPage && systemPage && 538 538 generalPage->is64BitOSTypeSelected() && !systemPage->isHWVirtExEnabled()) 539 539 { 540 540 aWarning = tr ( 541 "there is a 64 bitsguest OS type assigned for this VM, which "541 "there is a 64-bit guest OS type assigned for this VM, which " 542 542 "requires virtualization feature (VT-x/AMD-V) to be enabled " 543 "too, else your guest will fail to detect a 64 bitsCPU and "543 "too, else your guest will fail to detect a 64-bit CPU and " 544 544 "will not be able to boot, so this feature will be enabled " 545 545 "automatically when you'll accept VM Settings by pressing OK " … … 547 547 return true; 548 548 } 549 550 #ifndef Q_WS_MAC 551 /* Guest OS bitness & SMP slider correlation test */ 552 if (ARCH_BITS == 32 && generalPage && systemPage && 553 generalPage->is64BitOSTypeSelected() && systemPage->cpuCount() > 1) 554 { 555 aWarning = tr ( 556 "there is a 64-bit guest OS type selected for this VM. " 557 "VirtualBox does currently not support more than one virtual CPU " 558 "for 64-bit guests executed on 32-bit hosts."); 559 return false; 560 } 561 #endif 549 562 } 550 563 -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxVMSettingsSystem.cpp
r19864 r20285 128 128 { 129 129 return mCbVirt->isChecked(); 130 } 131 132 int VBoxVMSettingsSystem::cpuCount() const 133 { 134 return mSlCPU->value(); 130 135 } 131 136
Note:
See TracChangeset
for help on using the changeset viewer.