aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/kvm_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/kvm/kvm_main.c')
-rw-r--r--drivers/kvm/kvm_main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/kvm/kvm_main.c b/drivers/kvm/kvm_main.c
index 567121d9142a..0e618bcfe1da 100644
--- a/drivers/kvm/kvm_main.c
+++ b/drivers/kvm/kvm_main.c
@@ -1122,11 +1122,15 @@ int kvm_get_msr_common(struct kvm_vcpu *vcpu, u32 msr, u64 *pdata)
1122 case MSR_IA32_MC0_MISC+12: 1122 case MSR_IA32_MC0_MISC+12:
1123 case MSR_IA32_MC0_MISC+16: 1123 case MSR_IA32_MC0_MISC+16:
1124 case MSR_IA32_UCODE_REV: 1124 case MSR_IA32_UCODE_REV:
1125 case MSR_IA32_PERF_STATUS:
1125 /* MTRR registers */ 1126 /* MTRR registers */
1126 case 0xfe: 1127 case 0xfe:
1127 case 0x200 ... 0x2ff: 1128 case 0x200 ... 0x2ff:
1128 data = 0; 1129 data = 0;
1129 break; 1130 break;
1131 case 0xcd: /* fsb frequency */
1132 data = 3;
1133 break;
1130 case MSR_IA32_APICBASE: 1134 case MSR_IA32_APICBASE:
1131 data = vcpu->apic_base; 1135 data = vcpu->apic_base;
1132 break; 1136 break;