Re: [Qemu-block] [PATCH] vmdk: Create streamOptimized as version 3

2016-03-08 Thread Radoslav Gerganov
On 17.09.2015 08:04, Fam Zheng wrote: > VMware products accept only version 3 for streamOptimized, let's bump > the version. > > Reported-by: Radoslav Gerganov > Signed-off-by: Fam Zheng > --- > block/vmdk.c | 8 +++- > 1 file changed, 7 insertions(+), 1 dele

Re: [Qemu-block] [PATCH] vmdk: Fix next_cluster_sector for compressed write

2015-09-10 Thread Radoslav Gerganov
On 10.09.2015 11:15, Fam Zheng wrote: > On Thu, 09/10 10:53, Radoslav Gerganov wrote: >> When the VMDK is streamOptimized (or compressed), the >> next_cluster_sector must not be incremented by a fixed number of >> sectors. Instead of this, it must be rounded up to the next

[Qemu-block] [PATCH] vmdk: Fix next_cluster_sector for compressed write

2015-09-10 Thread Radoslav Gerganov
When the VMDK is streamOptimized (or compressed), the next_cluster_sector must not be incremented by a fixed number of sectors. Instead of this, it must be rounded up to the next consecutive sector. Fixing this results in much smaller compressed images. Signed-off-by: Radoslav Gerganov