From: Jan Kiszka <[email protected]>

Signed-off-by: Jan Kiszka <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>

diff --git a/x86/external-module-compat.h b/x86/external-module-compat.h
index 5add5c9..8caaf99 100644
--- a/x86/external-module-compat.h
+++ b/x86/external-module-compat.h
@@ -501,6 +501,14 @@ struct kvm_desc_ptr {
 #define MSR_IA32_TSC                    0x00000010
 #endif
 
+#ifndef MSR_K7_HWCR
+#define MSR_K7_HWCR                     0xc0010015
+#endif
+
+#ifndef MSR_K8_SYSCFG
+#define MSR_K8_SYSCFG                   0xc0010010
+#endif
+
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25) && defined(__x86_64__)
 
 #undef set_debugreg
--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to