xen: just completely disable XSAVE
commit61f4237d5b005767a76f4f3694e68e6f78f392d9
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Sun, 19 Sep 2010 05:25:30 +0000 (18 22:25 -0700)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 6 Apr 2011 12:31:00 +0000 (6 08:31 -0400)
tree479a885c9c5000a07db28e1b862931edd6fc537e
parentd88885d0923ae27b01dfcec644f94829b1e46bea
xen: just completely disable XSAVE

Some (old) versions of Xen just kill the domain if it tries to set any
unknown bits in CR4, so we can't reliably probe for OSXSAVE in
CR4.

Since Xen doesn't support XSAVE for guests at the moment, and no such
support is being worked on, there's no downside in just unconditionally
masking XSAVE support.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/enlighten.c