summary refs log tree commit diff stats
path: root/scripts/qapi-visit.py
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2014-09-24 16:37:14 +0200
committerKevin Wolf <kwolf@redhat.com>2014-09-25 15:24:14 +0200
commit247147fbc107f818630c4044931de39b89c99342 (patch)
tree58b1b4170e54f094e1d746c946d42f0926d22441 /scripts/qapi-visit.py
parentd224469d87140f0ab9496f752f6042606b80718b (diff)
downloadfocaccia-qemu-247147fbc107f818630c4044931de39b89c99342.tar.gz
focaccia-qemu-247147fbc107f818630c4044931de39b89c99342.zip
block: Specify -drive legacy option aliases in array
Instead of a series of qemu_opt_rename() calls, use an array that
contains all of the renames and call qemu_opt_rename() in a loop. This
will keep the code readable even when we add an error return to
qemu_opt_rename().

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: BenoƮt Canet <benoit.canet@nodalink.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'scripts/qapi-visit.py')
0 files changed, 0 insertions, 0 deletions