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

[PATCH] x86/tboot: adjust Kconfig default


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Thu, 3 Mar 2022 10:49:45 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=wxTlvrQrCrtfuzAef8q/M8aAHiBadKfLWySl/j0JE7c=; b=kqVYZ/nwebh+jxxhhaA19Q2LJGt/guekUdQNQoLymAM+iWaW/QiuxunEu+PZ0Y9B5/25TBD+wsdEbYgKcKe9fzoa8rliCKIeyXu8qfmo0ifBhc6YbMBzomaPEHtDoDxTgOFQkH8t4xqAWe9YGlDxiVyYlsLV9aPLXE4TN0Cqo8+idnWB0x53Am5sJRDB2oZ/3DywBkw5A6+9vm8HQRY9Q8XnV8uA4Ba0Un+jSXw+rUGNHyALYawtK5g4yCtZnvquIFZHUQ7u2DG2EiKzhw5ZTAXE+XHiTz5F3Jr16Z7spywjluWQMRuDxMfoBjj/cgSPmhyXtDuFK9uy8CYVNTD0WQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gYrGgKPI/fpkYm6TT4aeqb9QGWVk4/kN7ygU8nyYlO3ORP2SrOjG63hGuWF82CHoOSJpHTgqcfAh4+j59+jcIWo0JehsTm0Yg9iLk1NmxCA1GZpahZnlycmUYp28W3aUyQ12qeXyTpdK61W66yII0aJb7oD/dHEbkAb+E6UtPmE1Jeib87CjKIO/XS0ufSiiGiHD+9tFb3v8p8TlBs6sorNpnOZE8gXUXMtKguOSsxdMq7DP+1tKGOVsKImi6J2OgbP8JIBMLWte5vULOdAk0gEFw4MWYnRawGn8ufN319N4tJ4xtaCo3vbmw0iT/gqDD4U4kKPSmbhMVVcAHJfyPA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Lukasz Hawrylko <lukasz.hawrylko@xxxxxxxxxxxxxxx>, Daniel Smith <dpsmith@xxxxxxxxxxxxxxxxxxxx>, Mateusz Mówka <mateusz.mowka@xxxxxxxxx>
  • Delivery-date: Thu, 03 Mar 2022 09:49:59 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

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>
---
We could of course go further and make the default also account for
DEBUG, as is done elsewhere.

--- 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"




 


Rackspace

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