KVM: emulate access to MSR_IA32_MCG_CTL
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 11 Feb 2008 19:28:27 +0000 (20:28 +0100)
committerAvi Kivity <avi@qumranet.com>
Mon, 3 Mar 2008 09:22:37 +0000 (11:22 +0200)
commitc7ac679c160db864810920df61a6ed14275011aa
treeac343b837766f9cf7a5941f89fb796f904c808f7
parent674eea0fc4d1d693250b5d3ddad42ca931c87dfd
KVM: emulate access to MSR_IA32_MCG_CTL

Injecting an GP when accessing this MSR lets Windows crash when running some
stress test tools in KVM.  So this patch emulates access to this MSR.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Markus Rechberger <markus.rechberger@amd.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/x86.c