Raise the limit for the maximum VMDK image size
* Raised the limit from 4 GB to 160 GB, as the is the highest I could test
This commit is contained in:
@@ -267,8 +267,8 @@ main(int argc, char *argv[])
|
|||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
// arbitrary 4 GB limitation
|
// arbitrary 160 GB limitation
|
||||||
if (imageSize > 0x100000000ULL) {
|
if (imageSize > 0x2800000000ULL) {
|
||||||
fprintf(stderr, "Error: image size too large\n");
|
fprintf(stderr, "Error: image size too large\n");
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user