qemu-img amend: Support multiple -o options
authorKevin Wolf <kwolf@redhat.com>
Fri, 21 Feb 2014 15:24:06 +0000 (16:24 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 21 Feb 2014 21:10:26 +0000 (22:10 +0100)
commit626f84f39d4ae365a44dbbc0d0dd3c7739c3971a
tree220109747e371d3929ee36dceac7202007eb55c0
parent2dc8328b4c6aba60f4ad543186f4e8aec2e9287e
qemu-img amend: Support multiple -o options

Instead of ignoring all option values but the last one, multiple -o
options now have the same meaning as having a single option with all
settings in the order of their respective -o options.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
qemu-img.c