From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: general protection fault Date: Thu, 02 Feb 2012 14:40:43 +0200 Message-ID: <4F2A844B.107@redhat.com> References: <3c9160646ba439b51b505543c0ac8275@pl1.haspere.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: KVM , Qemu Devel , Oprofile-List , Linux-Kernel To: n2CpHSJnr4MP@dyweni.com Return-path: In-Reply-To: <3c9160646ba439b51b505543c0ac8275@pl1.haspere.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 01/18/2012 06:40 AM, Dyweni - KVM wrote: > Hi All, > > I'm not sure who this falls to, so I've included all all parties that > I thought may be relevant. > > I'm getting the following error from my guest kernel when running > oprofile within qemu-kvm: > kvm does not virtualize a PMU before Linux 3.3, so oprofile is not supported. The facilities for identifying the PMU to the guest are very lacking, so it's hard to make this fail gracefully. On a Linux 3.3 host, you can provide a PMU to the guest, but only using latest qemu and providing -cpu host or similar. This only works on Intel hosts for now. -- error compiling committee.c: too many arguments to function