Changeset 28531 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Apr 20, 2010 4:22:41 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 60336
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/ovfreader.h
r28165 r28531 256 256 struct HardDiskController 257 257 { 258 uint32_t idController; // instance ID (Item/InstanceId); this gets referenced from HardDisk 258 uint32_t idController; // instance ID (Item/InstanceId); this gets referenced from VirtualDisk 259 259 260 enum ControllerSystemType { IDE, SATA, SCSI }; 260 ControllerSystemType system; // one of IDE, SATA, SCSI 261 iprt::MiniString strControllerType; // controller subtype (Item/ResourceSubType); e.g. "LsiLogic"; can be empty (esp. for IDE) 262 iprt::MiniString strAddress; // for IDE 263 uint32_t ulBusNumber; // for IDE 261 ControllerSystemType system; // one of IDE, SATA, SCSI 262 263 iprt::MiniString strControllerType; // controller subtype (Item/ResourceSubType); e.g. "LsiLogic"; can be empty (esp. for IDE) 264 265 uint32_t ulAddress; // controller index; this is determined heuristically by the OVF reader and will 266 // be 0 for the first controller of this type (e.g. IDE primary ctler), 1 for the 267 // next (e.g. IDE secondary ctler) 264 268 265 269 HardDiskController() 266 270 : idController(0), 267 ulBusNumber(0) 268 { 269 } 271 ulAddress(0) 272 { } 270 273 }; 271 274 … … 275 278 { 276 279 uint32_t idController; // SCSI (or IDE) controller this disk is connected to; 280 // this must match HardDiskController.idController and 277 281 // points into VirtualSystem.mapControllers 278 282 uint32_t ulAddressOnParent; // parsed strAddressOnParent of hardware item; will be 0 or 1 for IDE
Note:
See TracChangeset
for help on using the changeset viewer.