- Timestamp:
- Feb 21, 2022 7:36:52 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageCloud.cpp
r93872 r93875 518 518 HRESULT hrc = S_OK; 519 519 520 enum 521 { 522 kInstanceIota = 1000, 523 kInstance_ShapeCpu, 524 kInstance_ShapeMemory, 525 }; 526 520 527 static const RTGETOPTDEF s_aOptions[] = 521 528 { … … 525 532 { "--launch-mode", 'm', RTGETOPT_REQ_STRING }, 526 533 { "--shape", 's', RTGETOPT_REQ_STRING }, 534 { "--shape-cpus", kInstance_ShapeCpu, RTGETOPT_REQ_UINT32 }, 535 { "--shape-memory", kInstance_ShapeMemory, RTGETOPT_REQ_UINT32 }, 527 536 { "--domain-name", 'd', RTGETOPT_REQ_STRING }, 528 537 { "--boot-disk-size", 'b', RTGETOPT_REQ_STRING }, … … 583 592 Bstr(ValueUnion.psz).raw(), NULL); 584 593 break; 594 585 595 case 's': 586 596 pVSD->AddDescription(VirtualSystemDescriptionType_CloudInstanceShape, 587 597 Bstr(ValueUnion.psz).raw(), NULL); 588 598 break; 599 600 case kInstance_ShapeCpu: 601 pVSD->AddDescription(VirtualSystemDescriptionType_CloudShapeCpus, 602 BstrFmt("%RI32", ValueUnion.u32).raw(), NULL); 603 break; 604 605 case kInstance_ShapeMemory: 606 pVSD->AddDescription(VirtualSystemDescriptionType_CloudShapeMemory, 607 BstrFmt("%RI32", ValueUnion.u32).raw(), NULL); 608 break; 609 589 610 case 'd': 590 611 pVSD->AddDescription(VirtualSystemDescriptionType_CloudDomain,
Note:
See TracChangeset
for help on using the changeset viewer.