diff options
author | Kevin Wolf <kwolf@redhat.com> | 2014-09-24 16:37:14 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-09-25 15:24:14 +0200 |
commit | 247147fbc107f818630c4044931de39b89c99342 (patch) | |
tree | 58b1b4170e54f094e1d746c946d42f0926d22441 /HACKING | |
parent | d224469d87140f0ab9496f752f6042606b80718b (diff) | |
download | qemu-247147fbc107f818630c4044931de39b89c99342.zip qemu-247147fbc107f818630c4044931de39b89c99342.tar.gz qemu-247147fbc107f818630c4044931de39b89c99342.tar.bz2 |
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 'HACKING')
0 files changed, 0 insertions, 0 deletions