Changeset 99523 in vbox for trunk/src/VBox/Main/xml
- Timestamp:
- Apr 24, 2023 2:44:16 PM (22 months ago)
- svn:sync-xref-src-repo-rev:
- 157024
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/xml/ovfreader.cpp
r98103 r99523 525 525 || i.strAllocationUnits == "byte * 2^20" // suggested by OVF spec DSP0243 page 21 526 526 ) 527 vsys.ullMemorySize = i.ullVirtualQuantity * _1M; 527 vsys.ullMemorySize = i.ullVirtualQuantity; 528 else if ( i.strAllocationUnits == "GigaBytes" 529 || i.strAllocationUnits == "GB" 530 || i.strAllocationUnits == "byte * 2^30" 531 ) 532 vsys.ullMemorySize = i.ullVirtualQuantity/_1K;//back to MB 528 533 else 529 534 throw OVFLogicError(N_("Error reading \"%s\": Invalid allocation unit \"%s\" specified with memory size item, line %d"),
Note:
See TracChangeset
for help on using the changeset viewer.