From: Stefan Raspl Subject: Re: [PATCH v1 1/2] tools/kvm_stat: fix command line option '-g' Date: Wed, 29 Nov 2017 07:42:29 +0100 Message-ID: References: <20171124203203.56908-1-raspl@linux.vnet.ibm.com> <20171124203203.56908-2-raspl@linux.vnet.ibm.com> <565cbe34-2959-52de-5aeb-669e28862dd7@de.ibm.com> Reply-To: raspl@linux.vnet.ibm.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: pbonzini@redhat.com, rkrcmar@redhat.com, frankja@linux.vnet.ibm.com To: Christian Borntraeger , kvm@vger.kernel.org Return-path: Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:53624 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752086AbdK2Gmg (ORCPT ); Wed, 29 Nov 2017 01:42:36 -0500 Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id vAT6dHB8012896 for ; Wed, 29 Nov 2017 01:42:35 -0500 Received: from e06smtp11.uk.ibm.com (e06smtp11.uk.ibm.com [195.75.94.107]) by mx0a-001b2d01.pphosted.com with ESMTP id 2ehn1vx71t-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 29 Nov 2017 01:42:35 -0500 Received: from localhost by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 29 Nov 2017 06:42:34 -0000 In-Reply-To: <565cbe34-2959-52de-5aeb-669e28862dd7@de.ibm.com> Content-Language: en-US Sender: kvm-owner@vger.kernel.org List-ID: On 27.11.2017 10:09, Christian Borntraeger wrote: > > > On 11/24/2017 09:32 PM, Stefan Raspl wrote: >> Specifying a guest via '-g' 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 > > Tested-by: Christian Borntraeger Thx - I found some more issues, will do a V2 and include in there. Ciao, Stefan