OSDN Git Service

tools/kvm_stat: move functions to corresponding classes
authorStefan Raspl <raspl@linux.vnet.ibm.com>
Wed, 7 Jun 2017 19:08:33 +0000 (21:08 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 8 Jun 2017 16:16:28 +0000 (18:16 +0200)
commit099a2dfc674e3333bd4ff5e5b106ccd788aa46d7
tree122c11d1687a7924f5aed028b686e8091c663e4e
parentc469117df05955901d2950b6130770e526b1dbf4
tools/kvm_stat: move functions to corresponding classes

Quite a few of the functions are used only in a single class. Moving
functions accordingly to improve the overall structure.
Furthermore, introduce a base class for the providers, which might also
come handy for future extensions.

Signed-off-by: Stefan Raspl <raspl@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/kvm/kvm_stat/kvm_stat