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

2015-09-21 Thread Andrew Cooper
On 21/09/15 14:04, Jan Beulich wrote: On 17.09.15 at 13:40, wrote: Jan: I have opted for adding leaf 8 rather than reusing leaf 2, due to the uncertainty with how this information is exposed in libxl. This patch introduces no change with how the information is

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

2015-09-21 Thread Jan Beulich
>>> On 17.09.15 at 13:40, wrote: > Jan: I have opted for adding leaf 8 rather than reusing leaf 2, due to the > uncertainty with how this information is exposed in libxl. This patch > introduces no change with how the information is represented in userspace. Mind

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

2015-09-21 Thread Andrew Cooper
On 21/09/15 15:00, Jan Beulich wrote: On 21.09.15 at 15:51, wrote: On 21/09/15 14:04, Jan Beulich wrote: On 17.09.15 at 13:40, wrote: Jan: I have opted for adding leaf 8 rather than reusing leaf 2, due to the uncertainty with how this

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

2015-09-21 Thread Jan Beulich
>>> On 21.09.15 at 15:51, wrote: > On 21/09/15 14:04, Jan Beulich wrote: > On 17.09.15 at 13:40, wrote: >>> Jan: I have opted for adding leaf 8 rather than reusing leaf 2, due to the >>> uncertainty with how this information is exposed in

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

2015-09-21 Thread Jan Beulich
>>> On 21.09.15 at 16:09, wrote: > On 21/09/15 15:00, Jan Beulich wrote: > On 21.09.15 at 15:51, wrote: >>> On 21/09/15 14:04, Jan Beulich wrote: >>> On 17.09.15 at 13:40, wrote: > +/* Mask out

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

2015-09-17 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 This is another patch