From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH v2 05/11] KVM: Expose a version 1 architectural PMU to guests Date: Mon, 27 Jun 2011 17:13:11 +0300 Message-ID: <4E088FF7.9080304@redhat.com> References: <1307972106-2468-1-git-send-email-avi@redhat.com> <1307972106-2468-6-git-send-email-avi@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , kvm@vger.kernel.org, Ingo Molnar , Peter Zijlstra , Arnaldo Carvalho de Melo To: lidong chen Return-path: Received: from mx1.redhat.com ([209.132.183.28]:31620 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751024Ab1F0ONc (ORCPT ); Mon, 27 Jun 2011 10:13:32 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 06/27/2011 05:10 PM, lidong chen wrote: > this patch used perf_event_create_kernel_counter function to setup > event in host os. > whether the count of event will calculate the part of qemu-kvm > userspace, and deliver the nmi interrupt which caused by this part to > guest os? There is a patch by Joerg Roedel that adds a .exclude_host attribute that prevents this from happening. Once that patch is merged, I'll change this one to make use of it. -- error compiling committee.c: too many arguments to function