From 4f087776106307676b1be232910c81d3419ec417 Mon Sep 17 00:00:00 2001 From: "Joseph R. Prostko" Date: Thu, 8 May 2014 20:42:11 -0400 Subject: [PATCH] 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 --- src/tools/vmdkimage/vmdkimage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/vmdkimage/vmdkimage.cpp b/src/tools/vmdkimage/vmdkimage.cpp index 6ca5d347db..88793630f2 100644 --- a/src/tools/vmdkimage/vmdkimage.cpp +++ b/src/tools/vmdkimage/vmdkimage.cpp @@ -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); }