diff options
author | Jeremy Cline <jeremy@jcline.org> | 2017-10-04 03:08:11 +0000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-10-12 14:01:50 +0200 |
commit | 9cc5fbbb8ca2178d94f2eeeb2ce675293a3f8ae2 (patch) | |
tree | 6e901deff651e857b9f5f12cebcd599c0095249e /arch/x86/kvm/lapic.c | |
parent | 0f107682cb0398265d80237c353a6fa93161d219 (diff) | |
download | linux-9cc5fbbb8ca2178d94f2eeeb2ce675293a3f8ae2.tar.gz |
tools/kvm_stat: Add Python 3 support to kvm_stat
Make kvm_stat support Python 3 by changing the use of "print" to a function rather than a statement, switching from "iteritems" and "iterkeys" (removed in Python 3) to "items" and "keys" respectively, and decoding bytes to strings when dealing with text. With this change, kvm_stat is usable with Python 2.6 and greater. Signed-off-by: Jeremy Cline <jeremy@jcline.org> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'arch/x86/kvm/lapic.c')
0 files changed, 0 insertions, 0 deletions