[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen master] x86/tboot: adjust Kconfig default



commit a9c8432e2ab666cf1bbefa46ddfc5da1127a98c7
Author:     Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Mon Mar 7 08:59:46 2022 +0100
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Mon Mar 7 08:59:46 2022 +0100

    x86/tboot: adjust Kconfig default
    
    We shouldn't include unsupported code by default, with not even a means
    for its building to be disabled. Convert the dependency from merely
    affecting the prompt's visibility to a real one.
    
    Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
    Reviewed-by: Daniel P. Smith <dpsmith@xxxxxxxxxxxxxxxxxxxx>
---
 xen/arch/x86/Kconfig | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/xen/arch/x86/Kconfig b/xen/arch/x86/Kconfig
index 8e70f9a448..83d0f317ec 100644
--- a/xen/arch/x86/Kconfig
+++ b/xen/arch/x86/Kconfig
@@ -193,14 +193,15 @@ config HVM_FEP
          If unsure, say N.
 
 config TBOOT
-       bool "Xen tboot support (UNSUPPORTED)" if UNSUPPORTED
-       default y if !PV_SHIM_EXCLUSIVE
+       bool "Xen tboot support (UNSUPPORTED)"
+       depends on UNSUPPORTED
+       default !PV_SHIM_EXCLUSIVE
        select CRYPTO
        ---help---
          Allows support for Trusted Boot using the Intel(R) Trusted Execution
          Technology (TXT)
 
-         If unsure, say Y.
+         If unsure, stay with the default.
 
 choice
        prompt "Alignment of Xen image"
--
generated by git-patchbot for /home/xen/git/xen.git#master



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.