Working on an older Fedora, I hit the need for this..
Add missing MSR definition

Signed-off-by: Zachary Amsden <[email protected]>

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

Reply via email to