From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: Re: [PATCH v2 00/11] KVM in-guest performance monitoring Date: Tue, 14 Jun 2011 19:24:17 +0200 Message-ID: <4DF79941.9050705@siemens.com> References: <1307972106-2468-1-git-send-email-avi@redhat.com> <4DF66B1A.6060606@cisco.com> <4DF71DA3.2080300@redhat.com> <4DF7972F.3040103@cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Avi Kivity , Marcelo Tosatti , kvm@vger.kernel.org, Ingo Molnar , Peter Zijlstra , Arnaldo Carvalho de Melo To: David Ahern Return-path: Received: from goliath.siemens.de ([192.35.17.28]:17508 "EHLO goliath.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751652Ab1FNRYd (ORCPT ); Tue, 14 Jun 2011 13:24:33 -0400 In-Reply-To: <4DF7972F.3040103@cisco.com> Sender: kvm-owner@vger.kernel.org List-ID: On 2011-06-14 19:15, David Ahern wrote: > 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. Use the qemu-kvm next branch. It has the fix you need. Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux