Changeset 48339 in vbox for trunk/src/VBox
- Timestamp:
- Sep 6, 2013 6:53:55 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/ApplianceImplExport.cpp
r47401 r48339 477 477 478 478 case DeviceType_DVD: 479 pNewDesc->addEntry(VirtualSystemDescriptionType_CDROM, 480 strTargetVmdkName, // disk ID 481 strTargetVmdkName, // OVF value 482 strLocation, // vbox value 483 (uint32_t)(llSize / _1M),// ulSize 484 strExtra); 479 { 480 /* get info about whether medium is a real drive/device or not */ 481 BOOL fHostDrive = false; 482 rc = pMedium->COMGETTER(HostDrive)(&fHostDrive); 483 484 /* Only virtual CD-ROM is exported, the real device/drive isn't exported */ 485 if(!fHostDrive) 486 pNewDesc->addEntry(VirtualSystemDescriptionType_CDROM, 487 strTargetVmdkName, // disk ID 488 strTargetVmdkName, // OVF value 489 strLocation, // vbox value 490 (uint32_t)(llSize / _1M),// ulSize 491 strExtra); 492 } 485 493 break; 486 494
Note:
See TracChangeset
for help on using the changeset viewer.