All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Yang, Sheng" <sheng.yang@intel.com>
To: kvm@vger.kernel.org
Cc: Chris Lalancette <clalance@redhat.com>
Subject: Re: [PATCH] [REPOST]: Fake emulate Intel perfctr MSRs
Date: Thu, 19 Jun 2008 19:37:31 +0800	[thread overview]
Message-ID: <200806191937.31593.sheng.yang@intel.com> (raw)
In-Reply-To: <485A0772.1050606@redhat.com>

On Thursday 19 June 2008 15:14:58 Chris Lalancette wrote:
> Attached is a patch for fake emulating Intel perfctr MSRs, similar to the
> recent patch to fake emulate the AMD perfctr MSRs.  This is needed for a
> reason similar for the previous patch; older linux guests (in this case,
> 2.6.9) can attempt to access the MSR's without a fixup section, and
> injecting a GPF kills the guest. Tested by me on RHEL-4 i386 and x86_64
> guests, as well as F-9 guests.
>
> Signed-off-by: Chris Lalancette <clalance@redhat.com>

Hi, Chris

It seems you can use something like MSR_P6_EVNTSEL0 to avoid brought in new 
#include? :)

(BTW: these four MSRs are P6 architecture specific ones, and two of them 
shared by Pentium architecture)

-- 
Thanks
Yang, Sheng

  reply	other threads:[~2008-06-19 11:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-19  7:14 [PATCH] [REPOST]: Fake emulate Intel perfctr MSRs Chris Lalancette
2008-06-19 11:37 ` Yang, Sheng [this message]
2008-06-20  7:39   ` Chris Lalancette
  -- strict thread matches above, loose matches on Subject: below --
2008-06-20  7:51 [PATCH][REPOST]: " Chris Lalancette
2008-06-29  9:24 ` Avi Kivity

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=200806191937.31593.sheng.yang@intel.com \
    --to=sheng.yang@intel.com \
    --cc=clalance@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.