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 <[EMAIL PROTECTED]>

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
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to