Re: [Xen-devel] [PATCH V3 2/6] x86/xsaves: enable xsaves/xrstors in xen

2015-08-05 Thread Andrew Cooper
On 05/08/15 02:57, Shuai Ruan wrote: > This patch uses xsaves/xrstors instead of xsaveopt/xrstor > to perform the xsave_area switching so that xen itself > can benefit from them when available. > > Please note that xsaves/xrstors only use compact format. > > Signed-off-by: Shuai Ruan > --- > xen/

[Xen-devel] [PATCH V3 2/6] x86/xsaves: enable xsaves/xrstors in xen

2015-08-04 Thread Shuai Ruan
This patch uses xsaves/xrstors instead of xsaveopt/xrstor to perform the xsave_area switching so that xen itself can benefit from them when available. Please note that xsaves/xrstors only use compact format. Signed-off-by: Shuai Ruan --- xen/arch/x86/i387.c | 5 xen/arch/x86/xsta