commit | 19e8e54f4309eaa438237aa1973fe40c331903d4 | [log] [tgz] |
---|---|---|
author | Stefan Raspl <stefan.raspl@de.ibm.com> | Mon Dec 11 12:25:19 2017 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Dec 14 09:25:41 2017 +0100 |
tree | aa494c62a3b632a3ce7947d8de735a7439251ac5 | |
parent | 5663d8f9bbe4bf15488f7351efb61ea20fa6de06 [diff] |
tools/kvm_stat: fix command line option '-g' Specifying a guest via '-g foo' always results in an error: $ kvm_stat -g foo Usage: kvm_stat [options] kvm_stat: error: Error while searching for guest "foo", use "-p" to specify a pid instead Reason is that Tui.get_pid_from_gname() is not static, as it is supposed to be. Signed-off-by: Stefan Raspl <raspl@linux.vnet.ibm.com> Tested-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>