public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: "Binh Q. Pham" <binhpham@cs.rutgers.edu>
To: Gleb Natapov <gleb@redhat.com>
Cc: kvm@vger.kernel.org
Subject: Re: Performance counters in kvm?
Date: Mon, 09 Dec 2013 13:59:41 -0500	[thread overview]
Message-ID: <52A6131D.8030703@cs.rutgers.edu> (raw)
In-Reply-To: <20131114210828.GD2088@redhat.com>

Sorry for a late response as I was distracted by another task in the 
last few weeks. Today, I compiled and installed QEMU 1.7.0 from source, 
but no luck with this. Tested on a different machine with different 
kernel version: 3.2, I got the same results.

Btw, I found bug 798936 which describes similar problem here:
bugzilla.redhat.com/show_bug.cgi?id=798936

it seems like this problem has been detected and resolved in the past. 
Do you know what Linux distro/kernel that the bug was resolved on? Maybe 
I can try that instead of using ubuntu to see if it works.

Thanks,
Binh
On 11/14/2013 04:08 PM, Gleb Natapov wrote:
> 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.


-- 
-Binh


  reply	other threads:[~2013-12-09 18:59 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-13 16:52 Performance counters in kvm? Binh Q. Pham
2013-11-13 17:54 ` Gleb Natapov
2013-11-14  3:22   ` Binh Q. Pham
2013-11-14  7:16     ` Gleb Natapov
2013-11-14 16:17       ` Binh Q. Pham
2013-11-14 16:46         ` Gleb Natapov
2013-11-14 17:04           ` Binh Q. Pham
2013-11-14 17:21             ` Gleb Natapov
2013-11-14 20:31               ` Binh Q. Pham
2013-11-14 21:08                 ` Gleb Natapov
2013-12-09 18:59                   ` Binh Q. Pham [this message]
2013-12-10 10:59                     ` Gleb Natapov
2013-12-10 14:17                       ` Binh Q. Pham

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52A6131D.8030703@cs.rutgers.edu \
    --to=binhpham@cs.rutgers.edu \
    --cc=gleb@redhat.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox