From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Ellerman Subject: Re: [PATCH 6/6] kvm_stat: Add powerpc support Date: Wed, 18 Jun 2014 10:50:08 +1000 Message-ID: <1403052608.32307.1.camel@concordia> References: <1402991675-24905-1-git-send-email-mpe@ellerman.id.au> <1402991675-24905-6-git-send-email-mpe@ellerman.id.au> <539FFC0C.6060105@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org, graalfs@linux.vnet.ibm.com, jfrei@linux.vnet.ibm.com, jan.kiszka@siemens.com, pbonzini@redhat.com, aik@ozlabs.ru To: Alexander Graf Return-path: Received: from ozlabs.org ([103.22.144.67]:39874 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753885AbaFRAuM (ORCPT ); Tue, 17 Jun 2014 20:50:12 -0400 In-Reply-To: <539FFC0C.6060105@suse.de> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, 2014-06-17 at 10:27 +0200, Alexander Graf wrote: > On 17.06.14 09:54, Michael Ellerman wrote: > > Add support for powerpc platforms. We use uname -m, which allows us to > > detect ppc, ppc64 and ppc64le/el. > > > > Signed-off-by: Michael Ellerman > > Could you please add support for PR KVM tracepoints along the way? There > we do know the exit reason for every single guest <-> host transition. I > would like to move to a similar model with HV in the future, so we can > hopefully just reuse this by then. So I think what you're saying is you want it to somehow support using 'kvm_exit' for PR and 'kvm_userspace_exit' for HV? Or actually use 'kvm_exit' if it exists and fall back to 'kvm_userspace_exit', so that if HV starts providing 'kvm_exit' the script will pick that up without further changes. cheers