From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Zijlstra Subject: Re: KVM PMU virtualization Date: Fri, 26 Feb 2010 16:14:08 +0100 Message-ID: <1267197248.22519.651.camel@laptop> References: <20100226084241.GF15885@elte.hu> <4B87987A.2020302@redhat.com> <20100226104437.GB7463@elte.hu> <4B87AF44.9090702@redhat.com> <20100226114217.GI7463@elte.hu> <4B87C354.9020209@redhat.com> <20100226130656.GA2518@elte.hu> <4B87CCF5.6000209@redhat.com> <20100226134400.GB23422@elte.hu> <4B87D26F.7080703@redhat.com> <20100226141229.GD23422@elte.hu> <4B87E060.8060506@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Ingo Molnar , Jes Sorensen , Joerg Roedel , KVM General , Zachary Amsden , Gleb Natapov , ming.m.lin@intel.com, "Zhang, Yanmin" , Thomas Gleixner , "H. Peter Anvin" , Arjan van de Ven , Fr??d??ric Weisbecker , Arnaldo Carvalho de Melo To: Avi Kivity Return-path: Received: from bombadil.infradead.org ([18.85.46.34]:39008 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964999Ab0BZPOk (ORCPT ); Fri, 26 Feb 2010 10:14:40 -0500 In-Reply-To: <4B87E060.8060506@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Fri, 2010-02-26 at 16:53 +0200, Avi Kivity wrote: > > If you give a full PMU to a guest it's a whole different dimension and quality > > of information. Literally hundreds of different events about all sorts of > > aspects of the CPU and the hardware in general. > > > > Well, we filter out the bad events then. Which requires trapping the MSR access, at which point a soft-PMU is almost there, right?