]> git.proxmox.com Git - mirror_qemu.git/commit - block/vmdk.c
vmdk: Fix converting to streamOptimized
authorFam Zheng <famz@redhat.com>
Mon, 25 Jan 2016 02:26:23 +0000 (10:26 +0800)
committerMax Reitz <mreitz@redhat.com>
Tue, 2 Feb 2016 16:49:34 +0000 (17:49 +0100)
commit3db1d98a20262228373bb973ca62b1ab64b29af4
tree6566d9cb4f6bca563fb58ead2466d00debc454ac
parent327032ce74d0d9fbd4e18528d0f124b68bc56cea
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>
block/vmdk.c