summaryrefslogtreecommitdiffstats
path: root/drivers/kvm/svm.c
diff options
context:
space:
mode:
authorMichael Riepe <michael@mr511.de>2006-12-22 01:05:53 -0800
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-22 08:55:46 -0800
commit0f8e3d365a30a8788d4c348e2885bac9640bf4d0 (patch)
tree2ad622927aecff10190154c19cbc841d33231123 /drivers/kvm/svm.c
parentabacf8dff911ecc11513dff162d7990aa8ed2da0 (diff)
downloadkernel-crypto-0f8e3d365a30a8788d4c348e2885bac9640bf4d0.tar.gz
kernel-crypto-0f8e3d365a30a8788d4c348e2885bac9640bf4d0.tar.xz
kernel-crypto-0f8e3d365a30a8788d4c348e2885bac9640bf4d0.zip
[PATCH] KVM: Handle p5 mce msrs
This allows plan9 to get a little further booting. Signed-off-by: Michael Riepe <michael@mr511.de> Signed-off-by: Avi Kivity <avi@qumranet.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/kvm/svm.c')
-rw-r--r--drivers/kvm/svm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/kvm/svm.c b/drivers/kvm/svm.c
index 59c930f276e..9ec87636ded 100644
--- a/drivers/kvm/svm.c
+++ b/drivers/kvm/svm.c
@@ -1073,6 +1073,8 @@ static int emulate_on_interception(struct kvm_vcpu *vcpu, struct kvm_run *kvm_ru
static int svm_get_msr(struct kvm_vcpu *vcpu, unsigned ecx, u64 *data)
{
switch (ecx) {
+ case MSR_IA32_P5_MC_ADDR:
+ case MSR_IA32_P5_MC_TYPE:
case MSR_IA32_MC0_CTL:
case MSR_IA32_MCG_STATUS:
case MSR_IA32_MCG_CAP: