Re: [Xen-devel] [PATCH v2] xen/x86: Record xsave features in c->x86_capabilities

2015-09-23 Thread Shuai Ruan
On Tue, Sep 22, 2015 at 06:22:27PM +0100, Andrew Cooper wrote: > Convert existing cpu_has_x??? to being functions of boot_cpu_data (matching > the prevailing style), and mask out unsupported features. > > Signed-off-by: Andrew Cooper > --- > CC: Jan Beulich

[Xen-devel] [PATCH v2] xen/x86: Record xsave features in c->x86_capabilities

2015-09-22 Thread Andrew Cooper
Convert existing cpu_has_x??? to being functions of boot_cpu_data (matching the prevailing style), and mask out unsupported features. Signed-off-by: Andrew Cooper --- CC: Jan Beulich CC: Shuai Ruan v2: * Reuse word 2