]> git.ipfire.org Git - thirdparty/qemu.git/commit
vmdk: Fix converting to streamOptimized
authorFam Zheng <famz@redhat.com>
Mon, 25 Jan 2016 02:26:23 +0000 (10:26 +0800)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 22 Mar 2016 22:41:10 +0000 (17:41 -0500)
commit078de11898a90268184eebd5f557e013ca3ff012
treefdb64b0dd57b303ace5d422bc88f28058df066df
parentacea76c162a51fa3c65426d64c74cfc67063df00
vmdk: Fix converting to streamOptimized

Commit d62d9dc4b8 lifted streamOptimized images's version to 3, but we
now refuse to open version 3 images read-write.  We need to make
streamOptimized an exception to allow converting to it. This fixes the
accidentally broken iotests case 059 for the same reason.

Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
(cherry picked from commit 3db1d98a20262228373bb973ca62b1ab64b29af4)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
block/vmdk.c