]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
KVM: Handle writes to MCG_STATUS msr
authorSergey Kiselev <sergey.kiselev@intel.com>
Thu, 22 Mar 2007 12:06:18 +0000 (14:06 +0200)
committerAvi Kivity <avi@qumranet.com>
Thu, 3 May 2007 07:52:26 +0000 (10:52 +0300)
commit0e5bf0d0e449f6597870570e8dd17e78ba4d75ff
tree2ac27b98ec801261998c868ed856e1488bcae62e
parentfcd3410870049cb74bb1a3a2458cb3ec21185cd1
KVM: Handle writes to MCG_STATUS msr

Some older (~2.6.7) kernels write MCG_STATUS register during kernel
boot (mce_clear_all() function, called from mce_init()). It's not
currently handled by kvm and will cause it to inject a GPF.
Following patch adds a "nop" handler for this.

Signed-off-by: Sergey Kiselev <sergey.kiselev@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm_main.c