tools/kvm_stat: display guest name when using pid filter
authorStefan Raspl <raspl@linux.vnet.ibm.com>
Fri, 10 Mar 2017 12:40:08 +0000 (13:40 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 29 Mar 2017 10:01:28 +0000 (12:01 +0200)
commita24e85f6a69f09a9d09a86110a6bb168c60610ef
tree7f02c95d61606a438b956a360454286476a5c4a1
parent1eaa2f9022d55a8d7249c42def8dc4b0d682e142
tools/kvm_stat: display guest name when using pid filter

When running kvm_stat with option '-p' to filter per process, display
the QEMU guest name next to the pid, if available.

Signed-off-by: Stefan Raspl <raspl@linux.vnet.ibm.com>
Reviewed-By: Janosch Frank <frankja@linux.vnet.ibm.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
tools/kvm/kvm_stat/kvm_stat