[haiku-commits] haiku: hrev47213 - src/tools/vmdkimage

  • From: joe.prostko@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 9 May 2014 02:44:09 +0200 (CEST)

hrev47213 adds 1 changeset to branch 'master'
old head: 680ca3b13d52422ea165f09173c82c8ba26e73c5
new head: 4f087776106307676b1be232910c81d3419ec417
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=4f08777+%5E680ca3b

----------------------------------------------------------------------------

4f08777: 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

                               [ Joseph R. Prostko <joe.prostko@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev47213
Commit:      4f087776106307676b1be232910c81d3419ec417
URL:         http://cgit.haiku-os.org/haiku/commit/?id=4f08777
Author:      Joseph R. Prostko <joe.prostko@xxxxxxxxx>
Date:        Fri May  9 00:42:11 2014 UTC

----------------------------------------------------------------------------

1 file changed, 2 insertions(+), 2 deletions(-)
src/tools/vmdkimage/vmdkimage.cpp | 4 ++--

----------------------------------------------------------------------------

diff --git a/src/tools/vmdkimage/vmdkimage.cpp 
b/src/tools/vmdkimage/vmdkimage.cpp
index 6ca5d34..8879363 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);
        }


Other related posts:

  • » [haiku-commits] haiku: hrev47213 - src/tools/vmdkimage - joe . prostko