From: Gleb Natapov <gleb@kernel.org>
To: "Binh Q. Pham" <binhpham@cs.rutgers.edu>
Cc: kvm@vger.kernel.org
Subject: Re: Performance counters in kvm?
Date: Tue, 10 Dec 2013 12:59:56 +0200 [thread overview]
Message-ID: <20131210105955.GA24218@minantech.com> (raw)
In-Reply-To: <52A6131D.8030703@cs.rutgers.edu>
On Mon, Dec 09, 2013 at 01:59:41PM -0500, Binh Q. Pham wrote:
> 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.
What do you mean by "different kernel version: 3.2"?
>
> 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.
>
The fix is present in QEMU 1.7.0.
> 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
>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Gleb.
next prev parent reply other threads:[~2013-12-10 11:00 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
2013-12-10 10:59 ` Gleb Natapov [this message]
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=20131210105955.GA24218@minantech.com \
--to=gleb@kernel.org \
--cc=binhpham@cs.rutgers.edu \
--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