diff options
author | Avi Kivity | 2006-12-29 16:49:51 -0800 |
---|---|---|
committer | Linus Torvalds | 2006-12-30 10:56:44 -0800 |
commit | a8d13ea28bcb63baf69aba84b61cad4c3ff7adb9 (patch) | |
tree | 7ce34541839ed4b55846f329c2861913fc24b707 /drivers/kvm/kvm_main.c | |
parent | 3bab1f5dda3443043cc8fe68c5ae75530339f28f (diff) |
[PATCH] KVM: More msr misery
These msrs are referenced by benchmarking software when pretending to be an
Intel cpu.
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/kvm_main.c')
-rw-r--r-- | drivers/kvm/kvm_main.c | 4 |
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) case MSR_IA32_MC0_MISC+12: case MSR_IA32_MC0_MISC+16: case MSR_IA32_UCODE_REV: + case MSR_IA32_PERF_STATUS: /* MTRR registers */ case 0xfe: case 0x200 ... 0x2ff: data = 0; break; + case 0xcd: /* fsb frequency */ + data = 3; + break; case MSR_IA32_APICBASE: data = vcpu->apic_base; break; |