x86/spec-ctrl: command line handling adjustments
authorJan Beulich <jbeulich@suse.com>
Tue, 10 Jul 2018 10:22:31 +0000 (12:22 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 10 Jul 2018 10:22:31 +0000 (12:22 +0200)
commitac3f9a72141a48d40fabfff561d5a7dc0e1b810d
tree7eba4f52e80fcf1750617b414bb57052d565ca4b
parentf5f4c68733c9ed7d795ec79445a00053de7a94ae
x86/spec-ctrl: command line handling adjustments

For one, "no-xen" should not imply "no-eager-fpu", as "eager FPU" mode
is to guard guests, not Xen itself, which is also expressed so by
print_details().

And then opt_ssbd, despite being off by default, should also be cleared
by the "no" and "no-xen" sub-options.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/spec_ctrl.c