x86/gen-cpuid: Distinguish default vs max in feature annotations
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 25 Feb 2020 15:33:31 +0000 (15:33 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 17 Jun 2020 12:54:12 +0000 (13:54 +0100)
commit1accd92514f286c44e76f198f1bba90ad2e9e83b
tree3de108c26b35cea916181fc912a915007a31801b
parent057012d2899e4e71e274f77fcab136b0cad23099
x86/gen-cpuid: Distinguish default vs max in feature annotations

The toolstack logic can now correctly distinguish a clean boot from a
migrate/restore.

Allow lowercase a/s/h to be used to annotate a non-default feature.

Due to the emulator work prepared earlier in 4.14, this now allows VMs to
explicity opt in to the TSXLDTRK, MOVDIR{I,64B} and SERIALIZE instructions via
their xl.cfg file, rather than getting them as a matter of default.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Release-acked-by: Paul Durrant <paul@xen.org>
xen/tools/gen-cpuid.py