]> git.proxmox.com Git - mirror_qemu.git/commit
qemu-img create: Support multiple -o options
authorKevin Wolf <kwolf@redhat.com>
Fri, 21 Feb 2014 15:24:04 +0000 (16:24 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 21 Feb 2014 21:10:21 +0000 (22:10 +0100)
commit77386bf6ebe67164a2d102b207fb3bc11af8c1e8
tree48bb5d2ac9bd18278f68706d60f10cd46e4b8239
parent7cc07ab8daa01f100f36ab63382d491f2d278c64
qemu-img create: Support multiple -o options

If you specified multiple -o options for qemu-img create, it would
silently ignore all but the last one. This patch fixes the problem.

Now multiple -o options has 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