diff options
author | Janosch Frank <frankja@linux.vnet.ibm.com> | 2016-01-11 16:17:36 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-01-26 15:58:12 +0100 |
commit | a6ad61f98742b881b0bce77efb5664d461735c6b (patch) | |
tree | 73e086a7cd36d57590e8333d2c6f2576f8723760 /target-sparc/win_helper.c | |
parent | dbedce0ebc88c9b4d3edc5eb1d1dca8e949141ef (diff) | |
download | qemu-a6ad61f98742b881b0bce77efb5664d461735c6b.zip qemu-a6ad61f98742b881b0bce77efb5664d461735c6b.tar.gz qemu-a6ad61f98742b881b0bce77efb5664d461735c6b.tar.bz2 |
scripts/kvm/kvm_stat: Invert dictionaries
The exit reasons dictionaries were defined number -> value but later
on were accessed the other way around. Therefore a invert function
inverted them.
Defining them the right way removes the need to invert them and
therefore also speeds up the script's setup process.
Signed-off-by: Janosch Frank <frankja@linux.vnet.ibm.com>
Message-Id: <1452525484-32309-7-git-send-email-frankja@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target-sparc/win_helper.c')
0 files changed, 0 insertions, 0 deletions