x86/shim: don't permit HVM and PV_SHIM_EXCLUSIVE at the same time
authorJan Beulich <jbeulich@suse.com>
Tue, 4 May 2021 08:49:22 +0000 (10:49 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 4 May 2021 08:49:22 +0000 (10:49 +0200)
commit075926410e997cc564c6b6ac6ddf17bc5459b445
tree64a290a48c5836b44ef0913d7d1ec2d6e77970e9
parentd26c277826dbbd64b3e3cb57159e1ecbfad33bc8
x86/shim: don't permit HVM and PV_SHIM_EXCLUSIVE at the same time

This combination doesn't really make sense (and there likely are more);
in particular even if the code built with both options set, HVM guests
wouldn't work (and I think one wouldn't be able to create one in the
first place). The alternative here would be some presumably intrusive
#ifdef-ary to get this combination to actually build (but still not
work) again.

Fixes: 8b5b49ceb3d9 ("x86: don't include domctl and alike in shim-exclusive builds")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/Kconfig