]> git.proxmox.com Git - mirror_qemu.git/commit
qcow2: Write feature table only for v3 images
authorKevin Wolf <kwolf@redhat.com>
Wed, 2 Dec 2015 18:11:04 +0000 (19:11 +0100)
committerKevin Wolf <kwolf@redhat.com>
Wed, 20 Jan 2016 12:36:23 +0000 (13:36 +0100)
commit1a4828c7934f592c146bc3dc979e78df430545cf
treea644fd6e2cc3341cfa06a02e610c9235d1045fcc
parent80c71a241ae3cd3b89527865ba730b2fa1f9e46f
qcow2: Write feature table only for v3 images

Version 2 images don't have feature bits, so writing a feature table to
those images is kind of pointless.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
block/qcow2.c
tests/qemu-iotests/031.out
tests/qemu-iotests/061.out