aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/msr.h
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-06-14 15:54:57 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-06-14 15:54:57 +0100
commitd25c0b84c6bc60c0573671c6923661f256b33307 (patch)
tree47fcd9a590d1020b4cee9485ff5b859a10f2b04f /xen/include/asm-x86/msr.h
parent9a1d2c1a459337f4b6e2b2d0d734f83ed5e8f967 (diff)
downloadxen-d25c0b84c6bc60c0573671c6923661f256b33307.tar.gz
xen-d25c0b84c6bc60c0573671c6923661f256b33307.tar.bz2
xen-d25c0b84c6bc60c0573671c6923661f256b33307.zip
hvm svm: Fix for BSOD when "migrating" from Intel to AMD.
The Intel processor driver for Windows (XP and later at least) reads an MSR that AMD doesn't have. This causes GP-fault in kernel mode, which causes blue-screen-of-death on Windows. This prevents a disk-image that was installed on Intel from starting on an AMD processor. This patch "fixes" the problem by allowing reads from the msr, returning all zero's (which is a valid, if not particulary meaningful, value for this register). Signed-off-by: Mats Petersson <mats.petersson@amd.com>
Diffstat (limited to 'xen/include/asm-x86/msr.h')
-rw-r--r--xen/include/asm-x86/msr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/include/asm-x86/msr.h b/xen/include/asm-x86/msr.h
index 80e9da6576..862e02c5d3 100644
--- a/xen/include/asm-x86/msr.h
+++ b/xen/include/asm-x86/msr.h
@@ -96,6 +96,7 @@ static inline void wrmsrl(unsigned int msr, __u64 val)
#define MSR_IA32_TIME_STAMP_COUNTER 0x10
#define MSR_IA32_PLATFORM_ID 0x17
#define MSR_IA32_EBL_CR_POWERON 0x2a
+#define MSR_IA32_EBC_FREQUENCY_ID 0x2c
#define MSR_IA32_APICBASE 0x1b
#define MSR_IA32_APICBASE_BSP (1<<8)