aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2009-06-15 09:21:23 -0400
committerAvi Kivity <avi@redhat.com>2009-09-10 01:32:58 -0400
commit3c5d0a44b011e0a1d857452f05c698e1008b4b4a (patch)
tree8ace02bc33af6fa0e97d348101ab719972c36586 /arch
parent0367b4330e463c45981437083991b90d25a9d78d (diff)
KVM: Implement MSRs used by Hyper-V
Hyper-V uses some MSRs, some of which are actually reserved for BIOS usage. But let's be nice today and have it its way, because otherwise it fails terribly. [jaswinder: fix build for linux-next changes] Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kvm/svm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index 132be0c7c3eb..146c17d406ed 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -2131,6 +2131,11 @@ static int svm_set_msr(struct kvm_vcpu *vcpu, unsigned ecx, u64 data)
2131 case MSR_VM_HSAVE_PA: 2131 case MSR_VM_HSAVE_PA:
2132 svm->hsave_msr = data; 2132 svm->hsave_msr = data;
2133 break; 2133 break;
2134 case MSR_VM_CR:
2135 case MSR_VM_IGNNE:
2136 case MSR_K7_HWCR:
2137 pr_unimpl(vcpu, "unimplemented wrmsr: 0x%x data 0x%llx\n", ecx, data);
2138 break;
2134 default: 2139 default:
2135 return kvm_set_msr_common(vcpu, ecx, data); 2140 return kvm_set_msr_common(vcpu, ecx, data);
2136 } 2141 }