diff options
| author | Stefan Hajnoczi | 2014-08-27 13:08:55 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi | 2014-08-28 14:42:25 +0200 |
| commit | ada4240103470371533967334cda9965854fcbda (patch) | |
| tree | 94253097d4959afff61ae330bd35ae64902162d5 /scripts | |
| parent | mirror: fix uninitialized variable delay_ns warnings (diff) | |
| download | qemu-ada4240103470371533967334cda9965854fcbda.tar.gz qemu-ada4240103470371533967334cda9965854fcbda.tar.xz qemu-ada4240103470371533967334cda9965854fcbda.zip | |
block: sort formats alphabetically in bdrv_iterate_format()
Format names are best consumed in alphabetical order. This makes
human-readable output easy to produce.
bdrv_iterate_format() already has an array of format strings. Sort them
before invoking the iteration callback.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: BenoƮt Canet <benoit.canet@nodalink.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
