]> xenbits.xensource.com Git - xen.git/commit
x86/cpuid: Introduce dom0-cpuid command line option
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 14 Dec 2021 16:53:36 +0000 (16:53 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 3 Aug 2023 18:14:19 +0000 (19:14 +0100)
commit3690ddda21b1ea24177a3434c75f189f5b19e47b
tree5fd5132283846d574602809b89321fd0b6286958
parent6a3b0205d5c737ef5ef9b34f04de8539f091f145
x86/cpuid: Introduce dom0-cpuid command line option

Specifically, this lets the user opt in to non-default features.

Collect all dom0 settings together in dom0_{en,dis}able_feat[], and apply it
to dom0's policy when other tweaks are being made.

As recalculate_cpuid_policy() is an expensive action, and dom0-cpuid= is
likely to only be used by the x86 maintainers for development purposes, forgo
the recalculation in the general case.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
(cherry picked from commit 5bd2b82df28cb7390f5ffb00fac635d0b9e36674)
docs/misc/xen-command-line.pandoc
xen/arch/x86/cpuid.c