]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
KVM: VMX: Fake emulate Intel perfctr MSRs
authorChris Lalancette <clalance@redhat.com>
Fri, 20 Jun 2008 07:51:30 +0000 (09:51 +0200)
committerAvi Kivity <avi@qumranet.com>
Sun, 20 Jul 2008 09:42:36 +0000 (12:42 +0300)
commitefa67e0d1f51842393606034051d805ab9948abd
tree9808aec9287308eef34ecce2a5a179cae776755d
parent65267ea1b3e768dc54b63cd7fad520d89c27d350
KVM: VMX: Fake emulate Intel perfctr MSRs

Older linux guests (in this case, 2.6.9) can attempt to
access the performance counter MSRs without a fixup section, and injecting
a GPF kills the guest.  Work around by allowing the guest to write those MSRs.

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>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/vmx.c