]> git.proxmox.com Git - mirror_qemu.git/commit - block/qcow2.c
qcow2: Use symbolic macros in qcow2_amend_options
authorMax Reitz <mreitz@redhat.com>
Wed, 18 Feb 2015 22:40:47 +0000 (17:40 -0500)
committerKevin Wolf <kwolf@redhat.com>
Tue, 10 Mar 2015 13:02:21 +0000 (14:02 +0100)
commit8a17b83cc3d4aa61ed24e2682aaf8ada7130f03d
treeff89cc22d7f0782aa30cbb02a844105b4016f089
parentbd4b167f84840865b788e9f236585f77a77b10fc
qcow2: Use symbolic macros in qcow2_amend_options

qcow2_amend_options() should not compare options against some inline
strings but rather use the symbolic macros available for each of the
creation options.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2.c