diff options
author | 2014-09-24 16:37:14 +0200 | |
---|---|---|
committer | 2014-09-25 15:24:14 +0200 | |
commit | 247147fbc107f818630c4044931de39b89c99342 (patch) | |
tree | 58b1b4170e54f094e1d746c946d42f0926d22441 /target-openrisc/exception.c | |
parent | block: Improve message for device name clashing with node name (diff) | |
download | qemu-247147fbc107f818630c4044931de39b89c99342.tar.xz 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 'target-openrisc/exception.c')
0 files changed, 0 insertions, 0 deletions