Re: [PATCH 7/8] kvm-kmod: x86: Add MSR_IA32_TSC compat define

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Jan,

On Tue, 2009-05-26 at 13:52 +0200, Jan Kiszka wrote:
> Signed-off-by: Jan Kiszka <jan.kiszka@xxxxxxxxxxx>
> ---
> 
>  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

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux