Changeset 24375 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Nov 5, 2009 10:55:31 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageInfo.cpp
r24301 r24375 537 537 StorageControllerType_T enmCtlType = StorageControllerType_Null; 538 538 const char *pszCtl = NULL; 539 ULONG ulValue = 0; 539 540 Bstr storageCtlName; 540 541 541 542 storageCtl->COMGETTER(Name)(storageCtlName.asOutParam()); 542 543 543 if (details == VMINFO_MACHINEREADABLE) 544 RTPrintf("storagecontroller %u:\"%lS\"\n", i, storageCtlName.raw());544 RTPrintf("storagecontrollername%u:\"%lS\"\n", i, storageCtlName.raw()); 545 545 else 546 RTPrintf("Storage Controller (%u):%lS\n", i, storageCtlName.raw());546 RTPrintf("Storage Controller Name (%u): %lS\n", i, storageCtlName.raw()); 547 547 548 548 storageCtl->COMGETTER(ControllerType)(&enmCtlType); 549 550 549 switch (enmCtlType) 551 550 { … … 578 577 RTPrintf("storagecontrollertype%u:=\"%s\"\n", i, pszCtl); 579 578 else 580 RTPrintf("Storage Controller Type (%u): %s\n", i, pszCtl); 579 RTPrintf("Storage Controller Type (%u): %s\n", i, pszCtl); 580 581 storageCtl->COMGETTER(Instance)(&ulValue); 582 if (details == VMINFO_MACHINEREADABLE) 583 RTPrintf("storagecontrollerinstance%u:\"%lu\"\n", i, ulValue); 584 else 585 RTPrintf("Storage Controller Instance Number (%u): %lu\n", i, ulValue); 586 587 storageCtl->COMGETTER(MaxPortCount)(&ulValue); 588 if (details == VMINFO_MACHINEREADABLE) 589 RTPrintf("storagecontrollermaxportcount%u:\"%lu\"\n", i, ulValue); 590 else 591 RTPrintf("Storage Controller Max Port Count (%u): %lu\n", i, ulValue); 592 593 storageCtl->COMGETTER(PortCount)(&ulValue); 594 if (details == VMINFO_MACHINEREADABLE) 595 RTPrintf("storagecontrollerportcount%u:\"%lu\"\n", i, ulValue); 596 else 597 RTPrintf("Storage Controller Port Count (%u): %lu\n", i, ulValue); 581 598 } 582 599
Note:
See TracChangeset
for help on using the changeset viewer.