]> xenbits.xensource.com Git - xen.git/commit
x86: don't offer Hyper-V option when "PV Shim Exclusive"
authorJan Beulich <jbeulich@suse.com>
Fri, 6 Dec 2019 10:02:09 +0000 (11:02 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 6 Dec 2019 10:02:09 +0000 (11:02 +0100)
commit0f216f8eb896e6c7de0ba33de743abb9d76cd0c3
tree20e1ec7283bf75f9020ac2ca5fe6c87bf9cd0e96
parentf5536cd68bc93038d963f0a970a0b6fc2013bcd1
x86: don't offer Hyper-V option when "PV Shim Exclusive"

This only added dead code. Use "if" instead of "depends on" to make
(halfway) clear that other guest options should also go in the same
block. Move the option down such that the shim related options get
presented first, avoiding to ask the question when the answer may end
up being discarded.

While in the neighborhood also bring PV_SHIM_EXCLUSIVE into more
"canonical" shape.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Wei Liu <wl@xen.org>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/Kconfig