From: Marc Hartmayer Subject: Re: [PATCH 0/4] tools/kvm_stat: misc changes Date: Fri, 12 Jan 2018 15:13:57 +0100 Message-ID: <87h8rrf9lm.fsf@marc-ibm.boeblingen.de.ibm.com> References: <20180109122704.5836-1-mhartmay@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT To: Paolo Bonzini , kvm@vger.kernel.org Return-path: Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:57056 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933687AbeALOOG (ORCPT ); Fri, 12 Jan 2018 09:14:06 -0500 Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w0CEBYL3019317 for ; Fri, 12 Jan 2018 09:14:05 -0500 Received: from e06smtp13.uk.ibm.com (e06smtp13.uk.ibm.com [195.75.94.109]) by mx0a-001b2d01.pphosted.com with ESMTP id 2fevqaf2me-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 12 Jan 2018 09:14:05 -0500 Received: from localhost by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 12 Jan 2018 14:14:03 -0000 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Fri, Jan 12, 2018 at 02:07 PM +0100, Paolo Bonzini wrote: > On 09/01/2018 13:27, Marc Hartmayer wrote: >> This patch series doesn't change any functionality, but simplifies the >> code. >> >> Marc Hartmayer (4): >> tools/kvm_stat: simplify the sortkey function >> tools/kvm_stat: use a namedtuple for storing the values >> tools/kvm_stat: use a more pythonic way to iterate over dictionaries >> tools/kvm_stat: avoid 'is' for equality checks >> >> tools/kvm/kvm_stat/kvm_stat | 65 +++++++++++++++++++++------------------------ >> 1 file changed, 30 insertions(+), 35 deletions(-) >> > > Applied to kvm/queue, thanks. Thanks. > > Paolo > -- Beste Grüße / Kind regards Marc Hartmayer IBM Deutschland Research & Development GmbH Vorsitzende des Aufsichtsrats: Martina Koederitz Geschäftsführung: Dirk Wittkopp Sitz der Gesellschaft: Böblingen Registergericht: Amtsgericht Stuttgart, HRB 243294