commit | c70221df1f89953e85a3f1f96ceefbd6888bb55f | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Wed Feb 11 17:19:57 2015 +0100 |
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | Sun Mar 08 22:58:14 2015 -0500 |
tree | ef6376d06edddfca6a66f26646d30381a7cdf1d3 | |
parent | 07db6859abffa79db6290a5f9f4dfdf93148189f [diff] |
vpc: Fix size in fixed image creation If total_sectors is rounded to match the geometry, total_size needs to be changed as well. Otherwise we end up with an image whose geometry describes a disk larger than the image file, which doesn't end well. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> (cherry picked from commit c7dd631d482912fd615a9ef18a0e0691e7a84836) Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>