aboutsummaryrefslogtreecommitdiffstats
path: root/testing/linux-virt-grsec/xen-xsave.patch
blob: e172d27b1dd03fd0045ca170f368f8f39f4a770e (plain)
1
2
3
4
5
6
7
8
9
10
--- ./arch/x86/xen/enlighten.c.orig
+++ ./arch/x86/xen/enlighten.c
@@ -805,6 +805,7 @@
 {
 	cr4 &= ~X86_CR4_PGE;
 	cr4 &= ~X86_CR4_PSE;
+	cr4 &= ~X86_CR4_OSXSAVE;
 
 	native_write_cr4(cr4);
 }