From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jaswinder Singh Rajput Subject: Re: [PATCH 7/8] kvm-kmod: x86: Add MSR_IA32_TSC compat define Date: Tue, 26 May 2009 17:59:07 +0530 Message-ID: <1243340947.12303.7.camel@localhost.localdomain> References: <20090526115251.3362.54734.stgit@mchn012c.ww002.siemens.net> <20090526115252.3362.58985.stgit@mchn012c.ww002.siemens.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Avi Kivity , kvm@vger.kernel.org To: Jan Kiszka Return-path: Received: from hera.kernel.org ([140.211.167.34]:54769 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751608AbZEZM3b (ORCPT ); Tue, 26 May 2009 08:29:31 -0400 In-Reply-To: <20090526115252.3362.58985.stgit@mchn012c.ww002.siemens.net> Sender: kvm-owner@vger.kernel.org List-ID: Hello Jan, On Tue, 2009-05-26 at 13:52 +0200, Jan Kiszka wrote: > Signed-off-by: Jan Kiszka > --- > > 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 3e6fc11..c33eb2e 100644 > --- a/x86/external-module-compat.h > +++ b/x86/external-module-compat.h > @@ -497,6 +497,10 @@ struct kvm_desc_ptr { > #define FEATURE_CONTROL_VMXON_ENABLED (1<<2) > #endif > > +#ifndef MSR_IA32_TSC > +#define MSR_IA32_TSC 0x00000010 > +#endif > + AFAIK, MSR_IA32_TSC is defined in include/asm/msr-index.h which is available for kernel as well as user space and it is available from long time. Can you please point me in which case MSR_IA32_TSC is not visible. Thanks, -- JSR