From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zachary Amsden Subject: [PATCH] kvm-kmod Date: Fri, 17 Sep 2010 11:38:08 -1000 Message-ID: <4C93DFC0.10407@redhat.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050504080900070907020701" To: Jan Kiszka , kvm Return-path: Received: from mx1.redhat.com ([209.132.183.28]:27075 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750782Ab0IQViL (ORCPT ); Fri, 17 Sep 2010 17:38:11 -0400 Sender: kvm-owner@vger.kernel.org List-ID: This is a multi-part message in MIME format. --------------050504080900070907020701 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Working on an older Fedora, I hit the need for this.. --------------050504080900070907020701 Content-Type: text/plain; name="kmod-msr-ebc.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="kmod-msr-ebc.patch" Add missing MSR definition Signed-off-by: Zachary Amsden diff --git a/x86/external-module-compat.h b/x86/external-module-compat.h index cc51b0f..8cb936d 100644 --- a/x86/external-module-compat.h +++ b/x86/external-module-compat.h @@ -1091,3 +1091,8 @@ static inline u64 pvclock_scale_delta(u64 delta, u32 mul_frac, int shift) #else #define kvm_set_64bit set_64bit #endif + + +#ifndef MSR_EBC_FREQUENCY_ID +#define MSR_EBC_FREQUENCY_ID 0x0000002c +#endif --------------050504080900070907020701--