Re: [Xen-devel] [PATCH V7 2/3] x86/xsaves: fix two remained issues

2016-04-04 Thread Jan Beulich
>>> On 31.03.16 at 10:57, wrote: Considering this isn't the last patch in the series, the subject isn't really nice (apart from being mis-spelled). If you e.g. replaced "remained" by "miscellaneous", I wouldn't insist on splitting. > 1. get_xsave_addr() will only be called when > xsave_area_comp

[Xen-devel] [PATCH V7 2/3] x86/xsaves: fix two remained issues

2016-03-31 Thread Shuai Ruan
From: Shuai Ruan 1. get_xsave_addr() will only be called when xsave_area_compressed(xsave) is true. So drop the conditional expression. 2. expand_xsave_states() will memset the area when get NULL from get_xsave_addr(). Signed-off-by: Shuai Ruan --- xen/arch/x86/xstate.c | 10 -- 1 fil