From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: Re: Performance counters in kvm? Date: Thu, 14 Nov 2013 23:08:29 +0200 Message-ID: <20131114210828.GD2088@redhat.com> References: <5283AE31.1000303@cs.rutgers.edu> <20131113175409.GA2088@redhat.com> <5284420E.8070403@cs.rutgers.edu> <20131114071616.GK2008@redhat.com> <5284F7A0.2060700@cs.rutgers.edu> <20131114164630.GB2088@redhat.com> <528502B2.8030605@cs.rutgers.edu> <20131114172136.GC2088@redhat.com> <52853305.5030109@cs.rutgers.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org To: "Binh Q. Pham" Return-path: Received: from mx1.redhat.com ([209.132.183.28]:63412 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756820Ab3KNVIx (ORCPT ); Thu, 14 Nov 2013 16:08:53 -0500 Content-Disposition: inline In-Reply-To: <52853305.5030109@cs.rutgers.edu> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, Nov 14, 2013 at 03:31:01PM -0500, Binh Q. Pham wrote: > My host kernel version is 3.10.17 > That one surely has PMU emulation, but your guest does not see it. I blame QEMU. Can you compile QEMU from git? > Binh > On 11/14/2013 12:21 PM, Gleb Natapov wrote: > >On Thu, Nov 14, 2013 at 12:04:50PM -0500, Binh Q. Pham wrote: > >>cpuid output is attached. > >PMU support is not advertised to the guest which means that either > >QEMU is broken or your host kernel does not have PMU kvm support. What is > >your host kernel version? > > > >>I didn't know that the kernel was not compiled with virtualization > >>support as I was using a ready image from ubuntu website to install > >>the VM. In the long run, are you suggesting me to recompile the > >>kernel for the guest to make sure that it has virtualization > >>support? > >> > >I am surprised ubuntu kernel does not have virtualiztion support > >compiled in. May be they have separate kernel for that, but I am not > >ubuntu user so cannot tell. > > > > > >-- > > Gleb. -- Gleb.