]> xenbits.xensource.com Git - xen.git/commit
x86/spec: do not print thunk option selection if not built-in
authorRoger Pau Monné <roger.pau@citrix.com>
Tue, 27 Feb 2024 13:58:40 +0000 (14:58 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 27 Feb 2024 13:58:40 +0000 (14:58 +0100)
commit576528a2a742069af203e90c613c5c93e23c9755
treea866e330c69caac664533d01387ea060dc424663
parent8441fa806a3b778867867cd0159fa1722e90397e
x86/spec: do not print thunk option selection if not built-in

Since the thunk built-in enable is printed as part of the "Compiled-in
support:" line, avoid printing anything in "Xen settings:" if the thunk is
disabled at build time.

Note the BTI-Thunk option printing is also adjusted to print a colon in the
same way the other options on the line do.

Requested-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/spec_ctrl.c