From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zachary Amsden Subject: [PATCH 3/4] AMD module build failure Date: Tue, 25 May 2010 17:35:31 -1000 Message-ID: <4BFC9703.9060106@redhat.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------080100080704040600070400" To: kvm , Jan Kiszka , Avi Kivity , Gleb Natapov Return-path: Received: from mx1.redhat.com ([209.132.183.28]:39119 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759184Ab0EZDfd (ORCPT ); Tue, 25 May 2010 23:35:33 -0400 Sender: kvm-owner@vger.kernel.org List-ID: This is a multi-part message in MIME format. --------------080100080704040600070400 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit --------------080100080704040600070400 Content-Type: text/plain; name="0003-Fix-AMD-module-build-failure-because-of-undefined-MS.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0003-Fix-AMD-module-build-failure-because-of-undefined-MS.pa"; filename*1="tch" >>From abbb464f0c2dd9681c4380598a1ac098d024b576 Mon Sep 17 00:00:00 2001 From: Zachary Amsden Date: Tue, 25 May 2010 16:33:47 -1000 Subject: [PATCH 3/5] Fix AMD module build failure because of undefined MSR Signed-off-by: Zachary Amsden --- x86/external-module-compat.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/x86/external-module-compat.h b/x86/external-module-compat.h index 316f7ff..e7ed07b 100644 --- a/x86/external-module-compat.h +++ b/x86/external-module-compat.h @@ -872,3 +872,7 @@ static inline void fpu_save_init(struct fpu *fpu) kvm_fx_restore(&fpu->state->host_fx_image); } #endif + +#ifndef MSR_AMD64_DC_CFG +#define MSR_AMD64_DC_CFG 0xc0011022 +#endif -- 1.7.0.1 --------------080100080704040600070400--