From 671d6564796e0c90398aab30f89b5e48fc5a3fbe Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Fri, 29 Dec 2006 16:49:45 -0800 Subject: [PATCH] KVM: Implement a few system configuration msrs Resolves sourceforge bug 1622229 (guest crashes running benchmark software). Signed-off-by: Avi Kivity Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- drivers/kvm/vmx.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'drivers/kvm/vmx.c') diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c index 603a4135de42..e5358a8b01f1 100644 --- a/drivers/kvm/vmx.c +++ b/drivers/kvm/vmx.c @@ -359,6 +359,9 @@ static int vmx_get_msr(struct kvm_vcpu *vcpu, u32 msr_index, u64 *pdata) case MSR_IA32_SYSENTER_ESP: data = vmcs_read32(GUEST_SYSENTER_ESP); break; + case 0xc0010010: /* SYSCFG */ + case 0xc0010015: /* HWCR */ + case MSR_IA32_PLATFORM_ID: case MSR_IA32_P5_MC_ADDR: case MSR_IA32_P5_MC_TYPE: case MSR_IA32_MC0_CTL: -- cgit v1.2.3