Files
xemu/block
Fam Zheng 5e82a31eb9 vmdk: Fix next_cluster_sector for compressed write
This fixes the bug introduced by commit c6ac36e (vmdk: Optimize cluster
allocation).

Sometimes, write_len could be larger than cluster size, because it
contains both data and marker.  We must advance next_cluster_sector in
this case, otherwise the image gets corrupted.

Cc: qemu-stable@nongnu.org
Reported-by: Antoni Villalonga <qemu-list@friki.cat>
Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2015-05-22 17:08:00 +02:00
..
2015-04-28 15:36:09 +02:00
…
…
2015-02-06 17:24:21 +01:00
2014-12-10 10:31:19 +01:00
2015-04-28 15:36:09 +02:00
2015-05-11 08:59:07 -04:00
2015-02-16 15:07:19 +00:00
2015-04-28 15:36:08 +02:00