From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] Enhance perf to collect KVM guest os statistics from host side Date: Wed, 17 Mar 2010 12:06:48 +0200 Message-ID: <4BA0A9B8.1030802@redhat.com> References: <1268717232.2813.36.camel@localhost> <201003171728.43739.sheng@linux.intel.com> <4BA0A3E6.4040100@redhat.com> <201003171751.01777.sheng@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "Zhang, Yanmin" , Ingo Molnar , Peter Zijlstra , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Marcelo Tosatti , oerg Roedel , Jes Sorensen , Gleb Natapov , Zachary Amsden , "Huang, Zhiteng" , Joerg Roedel To: Sheng Yang Return-path: In-Reply-To: <201003171751.01777.sheng@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 03/17/2010 11:51 AM, Sheng Yang wrote: > >> I think you need DM_NMI for that to work correctly. >> >> An alternative is to call the NMI handler directly. >> > apic_send_IPI_self() already took care of APIC_DM_NMI. > So it does (though not for x2apic?). I don't see why it doesn't work. > And NMI handler would block the following NMI? > > It wouldn't - won't work without extensive changes. -- error compiling committee.c: too many arguments to function