xen/22084-x86-xsave-off.patch

23 lines
552 B
Diff

# HG changeset patch
# User Keir Fraser <keir.fraser@citrix.com>
# Date 1283332754 -3600
# Node ID ae0cd4e5cc0149ceb5d3dd61a003aadc008f036e
# Parent 972d90ff31349816cc8c785a8b2defb2f70ed441
x86 intel: Disable XSAVE support.
It breaks HVM save/restore.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
--- a/xen/arch/x86/cpu/intel.c
+++ b/xen/arch/x86/cpu/intel.c
@@ -20,7 +20,7 @@
extern int trap_init_f00f_bug(void);
-static int use_xsave = 1;
+static int use_xsave;
boolean_param("xsave", use_xsave);
#ifdef CONFIG_X86_INTEL_USERCOPY