Re: [PATCH] x86/xen: fix xsave capability setting

From: Boris Ostrovsky
Date: Wed Apr 26 2017 - 09:53:04 EST


On 04/25/2017 02:47 AM, Juergen Gross wrote:
> Commit 690b7f10b4f9f ("x86/xen: use capabilities instead of fake cpuid
> values for xsave") introduced a regression as it tried to make use of
> the fixup feature before it being available.
>
> Fall back to the old variant testing via cpuid().
>
> Signed-off-by: Juergen Gross <jgross@xxxxxxxx>

Reviewed-by: Boris Ostrovsky <boris.osrtovsky@xxxxxxxxxx>

(This, BTW, was apparently broken on Intel as well, at least if you go
back to Xen 4.1).