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:
Joseph R. Prostko
2014-05-08 20:42:11 -04:00
parent 680ca3b13d
commit 4f08777610
+2 -2
View File
@@ -267,8 +267,8 @@ main(int argc, char *argv[])
exit(EXIT_FAILURE);
}
// arbitrary 4 GB limitation
if (imageSize > 0x100000000ULL) {
// arbitrary 160 GB limitation
if (imageSize > 0x2800000000ULL) {
fprintf(stderr, "Error: image size too large\n");
exit(EXIT_FAILURE);
}