]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
qemu-io: Support multiple -o in open command
authorMarkus Armbruster <armbru@redhat.com>
Wed, 28 May 2014 09:16:58 +0000 (11:16 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 30 May 2014 12:26:54 +0000 (14:26 +0200)
commit443422fde7cb8410849074181de7b91bfd13b19d
tree192ac784957835daa524fc0e914ba353a8277cc8
parentb20e61e0d52eef57cf5db55087b16e0b5207e730
qemu-io: Support multiple -o in open command

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.

Same as commit 2dc8328 for qemu-img convert, except here we do it with
QemuOpts rather than QEMUOptionParameter.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Benoit Canet <benoit@irqsave.net>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-io.c