Hi,
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:
--- kvm-17/kernel/kvm_main.c.orig 2007-03-20 15:12:42.000000000
+0200
+++ kvm-17/kernel/kvm_main.c 2007-03-22 13:37:34.000000000 +0200
@@ -1498,6 +1498,10 @@
printk(KERN_WARNING "%s: MSR_IA32_MC0_STATUS 0x%llx,
nop\n",
__FUNCTION__, data);
break;
+ case MSR_IA32_MCG_STATUS:
+ printk(KERN_WARNING "%s: MSR_IA32_MCG_STATUS 0x%llx,
nop\n",
+ __FUNCTION__, data);
+ break;
case MSR_IA32_UCODE_REV:
case MSR_IA32_UCODE_WRITE:
case 0x200 ... 0x2ff: /* MTRRs */
Thanks,
Sergey Kiselev
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
kvm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel