diff options
| author | Kevin Wolf | 2015-02-11 17:19:57 +0100 |
|---|---|---|
| committer | Kevin Wolf | 2015-03-09 11:11:59 +0100 |
| commit | 3f3f20dcd34fc2fcf6dea2fe4e9b45d1c4d67288 (patch) | |
| tree | b746ac7b76df5f160f39c522023bde3a47527812 /include | |
| parent | test-coroutine: Regression test for yield bug (diff) | |
| download | qemu-3f3f20dcd34fc2fcf6dea2fe4e9b45d1c4d67288.tar.gz qemu-3f3f20dcd34fc2fcf6dea2fe4e9b45d1c4d67288.tar.xz qemu-3f3f20dcd34fc2fcf6dea2fe4e9b45d1c4d67288.zip | |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
