x86: fix "xpti=" and "pv-l1tf=" yet again
authorJan Beulich <jbeulich@suse.com>
Thu, 4 Oct 2018 12:49:56 +0000 (14:49 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 4 Oct 2018 12:49:56 +0000 (14:49 +0200)
commit8743d2dea539617e237c77556a91dc357098a8af
tree91db4dd6f68c7dca3127e247f65262b662d89a2f
parent0b89643ef6ef14e2c2b731ca675d23e405ed69b1
x86: fix "xpti=" and "pv-l1tf=" yet again

While commit 2a3b34ec47 ("x86/spec-ctrl: Yet more fixes for xpti=
parsing") indeed fixed "xpti=dom0", it broke "xpti=no-dom0", in that
this then became equivalent to "xpti=no". In particular, the presence
of "xpti=" alone on the command line means nothing as to which default
is to be overridden; "xpti=no-dom0", for example, ought to have no
effect for DomU-s, as this is distinct from both "xpti=no-dom0,domu"
and "xpti=no-dom0,no-domu".

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