kvm_stat: Fix the non-x86 exit reasons
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 17 Jun 2014 07:54:31 +0000 (17:54 +1000)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 31 Oct 2014 15:32:07 +0000 (16:32 +0100)
commit27d318a88583b2bb263292a4d35931a3bc8d2b7a
tree3df6cecc37e7af2230aefe12c9b460a267dd0faa
parent763952d08b9c89726151a72f90bca90d0828302d
kvm_stat: Fix the non-x86 exit reasons

In kvm_stat we have a dictionary of exit reasons for s390. Firstly these
are not s390 specific, they are the generic exit reasons. So rename the
dictionary to reflect that, and add it separately to filters[].

Secondly, the values are defined using hex, but in the kernel header
they are decimal. That means values above 9 in kvm_stat are incorrect.

While we're there, fix the whitespace to match the rest of the file.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
scripts/kvm/kvm_stat