qcow2: Allow -o compat=v3 during qemu-img amend
commitf7077c9860a438087c2d9a8cc27cb8438c98a748
authorEric Blake <eblake@redhat.com>
Fri, 5 Jul 2019 15:28:12 +0000 (5 10:28 -0500)
committerKevin Wolf <kwolf@redhat.com>
Mon, 8 Jul 2019 14:00:31 +0000 (8 16:00 +0200)
tree62ff443f3810dfde90b675fe9bdb17da737ecabc
parent2bbd998642419bd5415c8d4e4d49c6da5cfd1a78
qcow2: Allow -o compat=v3 during qemu-img amend

Commit b76b4f60 allowed '-o compat=v3' as an alias for the
less-appealing '-o compat=1.1' for 'qemu-img create' since we want to
use the QMP form as much as possible, but forgot to do likewise for
qemu-img amend.  Also, it doesn't help that '-o help' doesn't list our
new preferred spellings.

Signed-off-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2.c