From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Ahern Subject: Re: [PATCH v2 00/11] KVM in-guest performance monitoring Date: Tue, 14 Jun 2011 11:15:27 -0600 Message-ID: <4DF7972F.3040103@cisco.com> References: <1307972106-2468-1-git-send-email-avi@redhat.com> <4DF66B1A.6060606@cisco.com> <4DF71DA3.2080300@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , kvm@vger.kernel.org, Ingo Molnar , Peter Zijlstra , Arnaldo Carvalho de Melo To: Avi Kivity Return-path: Received: from sj-iport-1.cisco.com ([171.71.176.70]:57991 "EHLO sj-iport-1.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751370Ab1FNRP3 (ORCPT ); Tue, 14 Jun 2011 13:15:29 -0400 In-Reply-To: <4DF71DA3.2080300@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 06/14/2011 02:36 AM, Avi Kivity wrote: > On 06/13/2011 10:55 PM, David Ahern wrote: >> On 06/13/2011 07:34 AM, Avi Kivity wrote: >> > This patchset exposes an emulated version 1 architectural performance >> > monitoring unit to KVM guests. The PMU is emulated using perf_events, >> > so the host kernel can multiplex host-wide, host-user, and the >> > guest on available resources. >> >> Any particular magic needed to try this patchset? >> > > You'll need the attached patch, '-cpu host' (or '-cpu host,model=0' > sometimes), and, as patch 2 is a guest bug fix, you'll need to run the > patched kernel in the guest as well. > qemu-kvm is not cooperating. git repo as of 05f1737582 with your patch is aborting: Welcome to Fedora Starting udev: [ 4.031626] udev[409]: starting version 161 [ 4.831159] piix4_smbus 0000:00:01.3: SMBus Host Controller at 0xb100, revision 0 qemu-kvm: /exports/daahern/qemu-kvm.git/hw/msix.c:616: msix_unset_mask_notifier: Assertion `dev->msix_mask_notifier' failed. David