Changeset 20211 in vbox
- Timestamp:
- Jun 3, 2009 8:04:57 AM (16 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ApplianceImpl.cpp
r20081 r20211 1586 1586 /* Hard disk Controller */ 1587 1587 uint16_t cIDEused = 0; 1588 uint16_t cSATAused = 0; 1589 uint16_t cSCSIused = 0; 1588 uint16_t cSATAused = 0; NOREF(cSATAused); 1589 uint16_t cSCSIused = 0; NOREF(cSCSIused); 1590 1590 ControllersMap::const_iterator hdcIt; 1591 1591 /* Iterate through all hard disk controllers */ … … 1630 1630 } 1631 1631 1632 #ifdef VBOX_WITH_AHCI1633 1632 case HardDiskController::SATA: 1634 1633 { 1634 #ifdef VBOX_WITH_AHCI 1635 1635 /* Check for the constrains */ 1636 1636 if (cSATAused < 1) … … 1653 1653 ++cSATAused; 1654 1654 break; 1655 #else /* !VBOX_WITH_AHCI */ 1656 addWarning(tr("The virtual system \"%s\" requests at least one SATA controller but this version of VirtualBox does not provide a SATA controller emulation"), 1657 vsysThis.strName.c_str()); 1658 #endif /* !VBOX_WITH_AHCI */ 1655 1659 } 1656 #endif /* VBOX_WITH_AHCI */1657 1660 1658 1661 case HardDiskController::SCSI: 1659 1662 { 1663 #ifdef VBOX_WITH_LSILOGIC 1660 1664 /* Check for the constrains */ 1661 1665 if (cSCSIused < 1) … … 1676 1680 ++cSCSIused; 1677 1681 break; 1682 #else /* !VBOX_WITH_LSILOGIC */ 1683 addWarning(tr("The virtual system \"%s\" requests at least one SATA controller but this version of VirtualBox does not provide a SCSI controller emulation"), 1684 vsysThis.strName.c_str()); 1685 #endif /* !VBOX_WITH_LSILOGIC */ 1678 1686 } 1679 1687 } … … 2160 2168 #endif /* VBOX_WITH_AHCI */ 2161 2169 2170 #ifdef VBOX_WITH_LSILOGIC 2162 2171 /* Hard disk controller SCSI */ 2163 2172 std::list<VirtualSystemDescriptionEntry*> vsdeHDCSCSI = vsdescThis->findByType(VirtualSystemDescriptionType_HardDiskControllerSCSI); … … 2184 2193 if (FAILED(rc)) throw rc; 2185 2194 } 2195 #endif /* VBOX_WITH_LSILOGIC */ 2186 2196 2187 2197 /* Now its time to register the machine before we add any hard disks */ … … 4566 4576 #endif // VBOX_WITH_AHCI 4567 4577 4578 #ifdef VBOX_WITH_LSILOGIC 4568 4579 // <const name="HardDiskControllerSCSI" value="8" /> 4569 4580 rc = GetStorageControllerByName(Bstr("SCSI"), pController.asOutParam()); … … 4588 4599 throw rc; 4589 4600 } 4601 #endif // VBOX_WITH_LSILOGIC 4590 4602 4591 4603 // <const name="HardDiskImage" value="9" /> -
trunk/src/VBox/Main/Makefile.kmk
r20160 r20211 215 215 $(if $(VBOX_WITH_E1000),VBOX_WITH_E1000,) \ 216 216 $(if $(VBOX_WITH_AHCI),VBOX_WITH_AHCI,) \ 217 $(if $(VBOX_WITH_LSILOGIC),VBOX_WITH_LSILOGIC,) \ 217 218 $(if $(VBOX_WITH_LINUX_COMPILER_H),VBOX_WITH_LINUX_COMPILER_H,) \ 218 219 $(if $(VBOX_WITH_RESOURCE_USAGE_API),VBOX_WITH_RESOURCE_USAGE_API,) \
Note:
See TracChangeset
for help on using the changeset viewer.