xen/Kconfig: Drop the final remnants of ---help---
PATCH 1/1 xen/Kconfig: Drop the final remnants of ---help---
We deprecated the use of ---help--- a while ago, but a lot of new content copy&pastes bad examples. Convert the remaining instances, and update Kconfig's parser to no longer recongise it.
This now causes builds to fail with:
Kconfig.debug:8: syntax error
Kconfig.debug:7: unknown statement "---help---"
which short circuits one common piece of churn in new content.
No functional change.
---
CC: George Dunlap <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Julien Grall <[email protected]>
CC: Oleksii Kurochko <[email protected]>
For 4.19. This cleans up a legacy we've been wanting to get rid of for a while, and will be least disruptive on people if it gets in ahead of most people starting work for 4.20.
--- xen/Kconfig | 2 +- xen/Kconfig.debug | 28 +++++++++---------- xen/arch/arm/Kconfig | 8 +++--- xen/arch/arm/platforms/Kconfig | 12 ++++----- xen/arch/x86/Kconfig | 32 +++++++++++----------- xen/common/Kconfig | 48 ++++++++++++++++----------------- xen/common/sched/Kconfig | 10 +++---- xen/drivers/passthrough/Kconfig | 8 +++--- xen/drivers/video/Kconfig | 2 +- xen/tools/kconfig/lexer.l | 2 +- 10 files changed, 76 insertions(+), 76 deletions(-)
xen/Kconfig +1 -1
@@ -84,7 +84,7 @@ config UNSUPPORTED config LTO bool "Link Time Optimisation" depends on BROKEN - ---help--- + help Enable Link Time Optimisation. If unsure, say N.
xen/Kconfig.debug +14 -14
@@ -4,7 +4,7 @@ menu "Debugging Options" config DEBUG bool "Developer Checks" default y - ---help--- + help If you say Y here this will enable developer checks such as asserts and extra printks. This option is intended for development purposes only, and not for production use.
@@ -17,14 +17,14 @@ config GDBSX bool "Guest debugging with gdbsx" depends on X86 default y - ---help--- + help If you want to enable support for debugging guests from dom0 via gdbsx then say Y. config FRAME_POINTER bool "Compile Xen with frame pointers" default DEBUG - ---help--- + help If you say Y here the resulting Xen will be slightly larger and maybe slower, but it gives very useful debugging information in case of any Xen bugs.
@@ -33,7 +33,7 @@ config COVERAGE bool "Code coverage support" depends on !LIVEPATCH select SUPPRESS_DUPLICATE_SYMBOL_WARNINGS if !ENFORCE_UNIQUE_SYMBOLS - ---help--- + help Enable code coverage support. If unsure, say N here.
@@ -41,7 +41,7 @@ config COVERAGE config DEBUG_LOCK_PROFILE bool "Lock Profiling" select DEBUG_LOCKS - ---help--- + help Lock profiling allows you to see how often locks are taken and blocked. You can use serial console to print (and reset) using 'l' and 'L' respectively, or the 'xenlockprof' tool.
@@ -49,13 +49,13 @@ config DEBUG_LOCK_PROFILE config DEBUG_LOCKS bool "Lock debugging" default DEBUG - ---help--- + help Enable debugging features of lock handling. Some additional checks will be performed when acquiring and releasing locks. config PERF_COUNTERS bool "Performance Counters" - ---help--- + help Enables software performance counters that allows you to analyze bottlenecks in the system. To access this data you can use serial console to print (and reset) using 'p' and 'P' respectively, or
@@ -64,21 +64,21 @@ config PERF_COUNTERS config PERF_ARRAYS bool "Performance Counter Array Histograms" depends on PERF_COUNTERS - ---help--- + help Enables software performance counter array histograms. config VERBOSE_DEBUG bool "Verbose debug messages" default DEBUG - ---help--- + help Guest output from HYPERVISOR_console_io and hypervisor parsing ELF images (dom0) will be logged in the Xen ring buffer. config DEVICE_TREE_DEBUG bool "Device tree debug messages" depends on HAS_DEVICE_TREE - ---help--- + help Device tree parsing and DOM0 device tree building messages are logged in the Xen ring buffer. If unsure, say N here.
@@ -86,14 +86,14 @@ config DEVICE_TREE_DEBUG config SCRUB_DEBUG bool "Page scrubbing test" default DEBUG - ---help--- + help Verify that pages that need to be scrubbed before being allocated to a guest are indeed scrubbed. config UBSAN bool "Undefined behaviour sanitizer" depends on HAS_UBSAN - ---help--- + help Enable undefined behaviour sanitizer. It uses compiler to insert code snippets so that undefined behaviours in C are detected during runtime. This requires a UBSAN capable compiler and it is a debug only feature.
@@ -109,7 +109,7 @@ config UBSAN_FATAL config DEBUG_TRACE bool "Debug trace support" - ---help--- + help Debug trace enables to record debug trace messages which are printed either directly to the console or are printed to console in case of a system crash.
@@ -117,7 +117,7 @@ config DEBUG_TRACE config XMEM_POOL_POISON bool "Poison free xenpool blocks" default DEBUG - ---help--- + help Poison free blocks with 0xAA bytes and verify them when a block is allocated in order to spot use-after-free issues.
xen/arch/arm/Kconfig +4 -4
@@ -67,7 +67,7 @@ source "arch/Kconfig" config ACPI bool "ACPI (Advanced Configuration and Power Interface) Support (UNSUPPORTED)" if UNSUPPORTED depends on ARM_64 && ARM_EFI - ---help--- + help Advanced Configuration and Power Interface (ACPI) support for Xen is an alternative to device tree on ARM64. This requires UEFI.
@@ -102,7 +102,7 @@ config GICV3 depends on !NEW_VGIC default n if ARM_32 default y if ARM_64 - ---help--- + help Driver for the ARM Generic Interrupt Controller v3. If unsure, use the default setting.
@@ -132,7 +132,7 @@ config HVM config NEW_VGIC bool "Use new VGIC implementation" select GICV2 - ---help--- + help This is an alternative implementation of the ARM GIC interrupt controller emulation, based on the Linux/KVM VGIC. It has a better
@@ -147,7 +147,7 @@ config NEW_VGIC config SBSA_VUART_CONSOLE bool "Emulated SBSA UART console support" default y - ---help--- + help Allows a guest to use SBSA Generic UART as a console. The SBSA Generic UART implements a subset of ARM PL011 UART.
xen/arch/arm/platforms/Kconfig +6 -6
@@ -1,14 +1,14 @@ choice prompt "Platform Support" default ALL_PLAT - ---help--- + help Choose which hardware platform to enable in Xen. If unsure, choose ALL_PLAT. config ALL_PLAT bool "All Platforms" - ---help--- + help Enable support for all available hardware platforms. It doesn't automatically select any of the related drivers.
@@ -17,7 +17,7 @@ config QEMU depends on ARM_64 select GICV3 select HAS_PL011 - ---help--- + help Enable all the required drivers for QEMU aarch64 virt emulated machine.
@@ -26,7 +26,7 @@ config RCAR3 depends on ARM_64 select HAS_SCIF select IPMMU_VMSA - ---help--- + help Enable all the required drivers for Renesas RCar3 config MPSOC
@@ -34,12 +34,12 @@ config MPSOC depends on ARM_64 select HAS_CADENCE_UART select ARM_SMMU - ---help--- + help Enable all the required drivers for Xilinx Ultrascale+ MPSoC config NO_PLAT bool "No Platforms" - ---help--- + help Do not enable specific support for any platform. endchoice
xen/arch/x86/Kconfig +16 -16
@@ -58,7 +58,7 @@ source "arch/Kconfig" config PV def_bool y prompt "PV support" - ---help--- + help Interfaces to support PV domains. These require guest kernel support to run as a PV guest, but don't require any specific hardware support.
@@ -71,7 +71,7 @@ config PV32 depends on PV default PV_SHIM select COMPAT - ---help--- + help The 32bit PV ABI uses Ring1, an area of the x86 architecture which was deprecated and mostly removed in the AMD64 spec. As a result, it occasionally conflicts with newer x86 hardware features, causing
@@ -90,7 +90,7 @@ config PV_LINEAR_PT bool "Support for PV linear pagetables" depends on PV default y - ---help--- + help Linear pagetables (also called "recursive pagetables") refers to the practice of a guest operating system having pagetable entries pointing to other pagetables of the same level (i.e.,
@@ -113,7 +113,7 @@ config HVM select COMPAT select IOREQ_SERVER select MEM_ACCESS_ALWAYS_ON - ---help--- + help Interfaces to support HVM domains. HVM domains require hardware virtualisation extensions (e.g. Intel VT-x, AMD SVM), but can boot guests which have no specific Xen knowledge.
@@ -126,7 +126,7 @@ config XEN_SHSTK bool "Supervisor Shadow Stacks" depends on HAS_AS_CET_SS default y - ---help--- + help Control-flow Enforcement Technology (CET) is a set of features in hardware designed to combat Return-oriented Programming (ROP, also call/jump COP/JOP) attacks. Shadow Stacks are one CET feature
@@ -152,7 +152,7 @@ config SHADOW_PAGING bool "Shadow Paging" default !PV_SHIM_EXCLUSIVE depends on PV || HVM - ---help--- + help Shadow paging is a software alternative to hardware paging support (Intel EPT, AMD NPT).
@@ -171,7 +171,7 @@ config SHADOW_PAGING config BIGMEM bool "big memory support" default n - ---help--- + help Allows Xen to support up to 123Tb of memory. This requires enlarging struct page_info as well as shrinking
@@ -183,7 +183,7 @@ config HVM_FEP bool "HVM Forced Emulation Prefix support (UNSUPPORTED)" if UNSUPPORTED default DEBUG depends on HVM - ---help--- + help Compiles in a feature that allows HVM guest to arbitrarily exercise the instruction emulator.
@@ -203,7 +203,7 @@ config TBOOT depends on UNSUPPORTED default !PV_SHIM_EXCLUSIVE select CRYPTO - ---help--- + help Allows support for Trusted Boot using the Intel(R) Trusted Execution Technology (TXT)
@@ -213,14 +213,14 @@ choice prompt "Alignment of Xen image" default XEN_ALIGN_2M if PV_SHIM_EXCLUSIVE default XEN_ALIGN_DEFAULT - ---help--- + help Specify alignment for Xen image. If unsure, choose "default". config XEN_ALIGN_DEFAULT bool "Default alignment" - ---help--- + help Pick alignment according to build variants. For EFI build the default alignment is 2M. For ELF build
@@ -281,7 +281,7 @@ config GUEST config XEN_GUEST bool "Xen Guest" select GUEST - ---help--- + help Support for Xen detecting when it is running under Xen. If unsure, say N.
@@ -290,7 +290,7 @@ config PVH_GUEST def_bool y prompt "PVH Guest" depends on XEN_GUEST - ---help--- + help Support booting using the PVH ABI. If unsure, say Y.
@@ -299,7 +299,7 @@ config PV_SHIM def_bool y prompt "PV Shim" depends on PV && XEN_GUEST - ---help--- + help Build Xen with a mode which acts as a shim to allow PV guest to run in an HVM/PVH container. This mode can only be enabled with command line option.
@@ -309,7 +309,7 @@ config PV_SHIM config PV_SHIM_EXCLUSIVE bool "PV Shim Exclusive" depends on PV_SHIM - ---help--- + help Build Xen in a way which unconditionally assumes PV_SHIM mode. This option is only intended for use when building a dedicated PV Shim firmware, and will not function correctly in other scenarios.
@@ -321,7 +321,7 @@ if !PV_SHIM_EXCLUSIVE config HYPERV_GUEST bool "Hyper-V Guest" select GUEST - ---help--- + help Support for Xen detecting when it is running under Hyper-V. If unsure, say N.
xen/common/Kconfig +24 -24
192 lines not on this page · raw message
xen/common/sched/Kconfig +5 -5
@@ -4,20 +4,20 @@ menu "Schedulers" config SCHED_CREDIT bool "Credit scheduler support" default y - ---help--- + help The traditional credit scheduler is a general purpose scheduler. config SCHED_CREDIT2 bool "Credit2 scheduler support" default y - ---help--- + help The credit2 scheduler is a general purpose scheduler that is optimized for lower latency and higher VM density. config SCHED_RTDS bool "RTDS scheduler support (UNSUPPORTED)" if UNSUPPORTED default DEBUG - ---help--- + help The RTDS scheduler is a soft and firm real-time scheduler for multicore, targeted for embedded, automotive, graphics and gaming in the cloud, and general low-latency workloads.
@@ -25,14 +25,14 @@ config SCHED_RTDS config SCHED_ARINC653 bool "ARINC653 scheduler support (UNSUPPORTED)" if UNSUPPORTED default DEBUG - ---help--- + help The ARINC653 scheduler is a hard real-time scheduler for single cores, targeted for avionics, drones, and medical devices. config SCHED_NULL bool "Null scheduler support (UNSUPPORTED)" if UNSUPPORTED default PV_SHIM || DEBUG - ---help--- + help The null scheduler is a static, zero overhead scheduler, for when there always are less vCPUs than pCPUs, typically in embedded or HPC scenarios.
xen/drivers/passthrough/Kconfig +4 -4
@@ -6,7 +6,7 @@ if ARM config ARM_SMMU bool "ARM SMMUv1 and v2 driver" default y - ---help--- + help Support for implementations of the ARM System MMU architecture versions 1 and 2.
@@ -16,7 +16,7 @@ config ARM_SMMU config ARM_SMMU_V3 bool "ARM Ltd. System MMU Version 3 (SMMUv3) Support" if EXPERT depends on ARM_64 && (!ACPI || BROKEN) - ---help--- + help Support for implementations of the ARM System MMU architecture version 3. Driver is in experimental stage and should not be used in production.
@@ -27,7 +27,7 @@ config ARM_SMMU_V3 config IPMMU_VMSA bool "Renesas IPMMU-VMSA found in R-Car Gen3/Gen4 SoCs" depends on ARM_64 - ---help--- + help Support for implementations of the Renesas IPMMU-VMSA found in R-Car Gen3/Gen4 SoCs.
@@ -68,7 +68,7 @@ choice prompt "IOMMU device quarantining default behavior" depends on HAS_PCI default IOMMU_QUARANTINE_BASIC - ---help--- + help When a PCI device is assigned to an untrusted domain, it is possible for that domain to program the device to DMA to an arbitrary address. The IOMMU is used to protect the host from malicious DMA by making
xen/drivers/video/Kconfig +1 -1
@@ -7,7 +7,7 @@ config VGA select VIDEO depends on X86 default y if !PV_SHIM_EXCLUSIVE - ---help--- + help Enable VGA output for the Xen hypervisor. If unsure, say Y.
xen/tools/kconfig/lexer.l +1 -1
@@ -105,7 +105,7 @@ n [A-Za-z0-9_-] "endchoice" return T_ENDCHOICE; "endif" return T_ENDIF; "endmenu" return T_ENDMENU; -"help"|"---help---" return T_HELP; +"help" return T_HELP; "hex" return T_HEX; "if" return T_IF; "imply" return T_IMPLY;
base-commit: feb9158a620040846d76981acbe8ea9e2255a07b
Signature · 1 line
2.30.2
Quoted 6 lines · Andrew Cooper
We deprecated the use of ---help--- a while ago, but a lot of new content copy&pastes bad examples. Convert the remaining instances, and update Kconfig's parser to no longer recongise it.
This now causes builds to fail with:
Quoted 8 lines
Kconfig.debug:8: syntax error
Kconfig.debug:7: unknown statement "---help---"which short circuits one common piece of churn in new content.
No functional change.
Signed-off-by Andrew Cooper <[email protected]>
Quoted 737 lines
---
CC: George Dunlap <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Julien Grall <[email protected]>
CC: Oleksii Kurochko <[email protected]>For 4.19. This cleans up a legacy we've been wanting to get rid of for a while, and will be least disruptive on people if it gets in ahead of most people starting work for 4.20.
--- xen/Kconfig | 2 +- xen/Kconfig.debug | 28 +++++++++---------- xen/arch/arm/Kconfig | 8 +++--- xen/arch/arm/platforms/Kconfig | 12 ++++----- xen/arch/x86/Kconfig | 32 +++++++++++----------- xen/common/Kconfig | 48 ++++++++++++++++----------------- xen/common/sched/Kconfig | 10 +++---- xen/drivers/passthrough/Kconfig | 8 +++--- xen/drivers/video/Kconfig | 2 +- xen/tools/kconfig/lexer.l | 2 +- 10 files changed, 76 insertions(+), 76 deletions(-)xen/Kconfig +1
-1@@ -84,7 +84,7 @@ config UNSUPPORTED config LTO bool "Link Time Optimisation" depends on BROKEN - ---help--- + help Enable Link Time Optimisation. If unsure, say N.xen/Kconfig.debug +14
-14@@ -4,7 +4,7 @@ menu "Debugging Options" config DEBUG bool "Developer Checks" default y - ---help--- + help If you say Y here this will enable developer checks such as asserts and extra printks. This option is intended for development purposes only, and not for production use.@@ -17,14 +17,14 @@ config GDBSX bool "Guest debugging with gdbsx" depends on X86 default y - ---help--- + help If you want to enable support for debugging guests from dom0 via gdbsx then say Y. config FRAME_POINTER bool "Compile Xen with frame pointers" default DEBUG - ---help--- + help If you say Y here the resulting Xen will be slightly larger and maybe slower, but it gives very useful debugging information in case of any Xen bugs.@@ -33,7 +33,7 @@ config COVERAGE bool "Code coverage support" depends on !LIVEPATCH select SUPPRESS_DUPLICATE_SYMBOL_WARNINGS if !ENFORCE_UNIQUE_SYMBOLS - ---help--- + help Enable code coverage support. If unsure, say N here.@@ -41,7 +41,7 @@ config COVERAGE config DEBUG_LOCK_PROFILE bool "Lock Profiling" select DEBUG_LOCKS - ---help--- + help Lock profiling allows you to see how often locks are taken and blocked. You can use serial console to print (and reset) using 'l' and 'L' respectively, or the 'xenlockprof' tool.@@ -49,13 +49,13 @@ config DEBUG_LOCK_PROFILE config DEBUG_LOCKS bool "Lock debugging" default DEBUG - ---help--- + help Enable debugging features of lock handling. Some additional checks will be performed when acquiring and releasing locks. config PERF_COUNTERS bool "Performance Counters" - ---help--- + help Enables software performance counters that allows you to analyze bottlenecks in the system. To access this data you can use serial console to print (and reset) using 'p' and 'P' respectively, or@@ -64,21 +64,21 @@ config PERF_COUNTERS config PERF_ARRAYS bool "Performance Counter Array Histograms" depends on PERF_COUNTERS - ---help--- + help Enables software performance counter array histograms. config VERBOSE_DEBUG bool "Verbose debug messages" default DEBUG - ---help--- + help Guest output from HYPERVISOR_console_io and hypervisor parsing ELF images (dom0) will be logged in the Xen ring buffer. config DEVICE_TREE_DEBUG bool "Device tree debug messages" depends on HAS_DEVICE_TREE - ---help--- + help Device tree parsing and DOM0 device tree building messages are logged in the Xen ring buffer. If unsure, say N here.@@ -86,14 +86,14 @@ config DEVICE_TREE_DEBUG config SCRUB_DEBUG bool "Page scrubbing test" default DEBUG - ---help--- + help Verify that pages that need to be scrubbed before being allocated to a guest are indeed scrubbed. config UBSAN bool "Undefined behaviour sanitizer" depends on HAS_UBSAN - ---help--- + help Enable undefined behaviour sanitizer. It uses compiler to insert code snippets so that undefined behaviours in C are detected during runtime. This requires a UBSAN capable compiler and it is a debug only feature.@@ -109,7 +109,7 @@ config UBSAN_FATAL config DEBUG_TRACE bool "Debug trace support" - ---help--- + help Debug trace enables to record debug trace messages which are printed either directly to the console or are printed to console in case of a system crash.@@ -117,7 +117,7 @@ config DEBUG_TRACE config XMEM_POOL_POISON bool "Poison free xenpool blocks" default DEBUG - ---help--- + help Poison free blocks with 0xAA bytes and verify them when a block is allocated in order to spot use-after-free issues.xen/arch/arm/Kconfig +4
-4@@ -67,7 +67,7 @@ source "arch/Kconfig" config ACPI bool "ACPI (Advanced Configuration and Power Interface) Support (UNSUPPORTED)" if UNSUPPORTED depends on ARM_64 && ARM_EFI - ---help--- + help Advanced Configuration and Power Interface (ACPI) support for Xen is an alternative to device tree on ARM64. This requires UEFI.@@ -102,7 +102,7 @@ config GICV3 depends on !NEW_VGIC default n if ARM_32 default y if ARM_64 - ---help--- + help Driver for the ARM Generic Interrupt Controller v3. If unsure, use the default setting.@@ -132,7 +132,7 @@ config HVM config NEW_VGIC bool "Use new VGIC implementation" select GICV2 - ---help--- + help This is an alternative implementation of the ARM GIC interrupt controller emulation, based on the Linux/KVM VGIC. It has a better@@ -147,7 +147,7 @@ config NEW_VGIC config SBSA_VUART_CONSOLE bool "Emulated SBSA UART console support" default y - ---help--- + help Allows a guest to use SBSA Generic UART as a console. The SBSA Generic UART implements a subset of ARM PL011 UART.xen/arch/arm/platforms/Kconfig +6
-6@@ -1,14 +1,14 @@ choice prompt "Platform Support" default ALL_PLAT - ---help--- + help Choose which hardware platform to enable in Xen. If unsure, choose ALL_PLAT. config ALL_PLAT bool "All Platforms" - ---help--- + help Enable support for all available hardware platforms. It doesn't automatically select any of the related drivers.@@ -17,7 +17,7 @@ config QEMU depends on ARM_64 select GICV3 select HAS_PL011 - ---help--- + help Enable all the required drivers for QEMU aarch64 virt emulated machine.@@ -26,7 +26,7 @@ config RCAR3 depends on ARM_64 select HAS_SCIF select IPMMU_VMSA - ---help--- + help Enable all the required drivers for Renesas RCar3 config MPSOC@@ -34,12 +34,12 @@ config MPSOC depends on ARM_64 select HAS_CADENCE_UART select ARM_SMMU - ---help--- + help Enable all the required drivers for Xilinx Ultrascale+ MPSoC config NO_PLAT bool "No Platforms" - ---help--- + help Do not enable specific support for any platform. endchoicexen/arch/x86/Kconfig +16
-16@@ -58,7 +58,7 @@ source "arch/Kconfig" config PV def_bool y prompt "PV support" - ---help--- + help Interfaces to support PV domains. These require guest kernel support to run as a PV guest, but don't require any specific hardware support.@@ -71,7 +71,7 @@ config PV32 depends on PV default PV_SHIM select COMPAT - ---help--- + help The 32bit PV ABI uses Ring1, an area of the x86 architecture which was deprecated and mostly removed in the AMD64 spec. As a result, it occasionally conflicts with newer x86 hardware features, causing@@ -90,7 +90,7 @@ config PV_LINEAR_PT bool "Support for PV linear pagetables" depends on PV default y - ---help--- + help Linear pagetables (also called "recursive pagetables") refers to the practice of a guest operating system having pagetable entries pointing to other pagetables of the same level (i.e.,@@ -113,7 +113,7 @@ config HVM select COMPAT select IOREQ_SERVER select MEM_ACCESS_ALWAYS_ON - ---help--- + help Interfaces to support HVM domains. HVM domains require hardware virtualisation extensions (e.g. Intel VT-x, AMD SVM), but can boot guests which have no specific Xen knowledge.@@ -126,7 +126,7 @@ config XEN_SHSTK bool "Supervisor Shadow Stacks" depends on HAS_AS_CET_SS default y - ---help--- + help Control-flow Enforcement Technology (CET) is a set of features in hardware designed to combat Return-oriented Programming (ROP, also call/jump COP/JOP) attacks. Shadow Stacks are one CET feature@@ -152,7 +152,7 @@ config SHADOW_PAGING bool "Shadow Paging" default !PV_SHIM_EXCLUSIVE depends on PV || HVM - ---help--- + help Shadow paging is a software alternative to hardware paging support (Intel EPT, AMD NPT).@@ -171,7 +171,7 @@ config SHADOW_PAGING config BIGMEM bool "big memory support" default n - ---help--- + help Allows Xen to support up to 123Tb of memory. This requires enlarging struct page_info as well as shrinking@@ -183,7 +183,7 @@ config HVM_FEP bool "HVM Forced Emulation Prefix support (UNSUPPORTED)" if UNSUPPORTED default DEBUG depends on HVM - ---help--- + help Compiles in a feature that allows HVM guest to arbitrarily exercise the instruction emulator.@@ -203,7 +203,7 @@ config TBOOT depends on UNSUPPORTED default !PV_SHIM_EXCLUSIVE select CRYPTO - ---help--- + help Allows support for Trusted Boot using the Intel(R) Trusted Execution Technology (TXT)@@ -213,14 +213,14 @@ choice prompt "Alignment of Xen image" default XEN_ALIGN_2M if PV_SHIM_EXCLUSIVE default XEN_ALIGN_DEFAULT - ---help--- + help Specify alignment for Xen image. If unsure, choose "default". config XEN_ALIGN_DEFAULT bool "Default alignment" - ---help--- + help Pick alignment according to build variants. For EFI build the default alignment is 2M. For ELF build@@ -281,7 +281,7 @@ config GUEST config XEN_GUEST bool "Xen Guest" select GUEST - ---help--- + help Support for Xen detecting when it is running under Xen. If unsure, say N.@@ -290,7 +290,7 @@ config PVH_GUEST def_bool y prompt "PVH Guest" depends on XEN_GUEST - ---help--- + help Support booting using the PVH ABI. If unsure, say Y.@@ -299,7 +299,7 @@ config PV_SHIM def_bool y prompt "PV Shim" depends on PV && XEN_GUEST - ---help--- + help Build Xen with a mode which acts as a shim to allow PV guest to run in an HVM/PVH container. This mode can only be enabled with command line option.@@ -309,7 +309,7 @@ config PV_SHIM config PV_SHIM_EXCLUSIVE bool "PV Shim Exclusive" depends on PV_SHIM - ---help--- + help Build Xen in a way which unconditionally assumes PV_SHIM mode. This option is only intended for use when building a dedicated PV Shim firmware, and will not function correctly in other scenarios.@@ -321,7 +321,7 @@ if !PV_SHIM_EXCLUSIVE config HYPERV_GUEST bool "Hyper-V Guest" select GUEST - ---help--- + help Support for Xen detecting when it is running under Hyper-V. If unsure, say N.xen/common/Kconfig +24
-24@@ -15,7 +15,7 @@ config CORE_PARKING config GRANT_TABLE bool "Grant table support" if EXPERT default y - ---help--- + help Grant table provides a generic mechanism to memory sharing between domains. This shared memory interface underpins the split device drivers for block and network IO in a classic@@ -90,7 +90,7 @@ config MEM_ACCESS def_bool MEM_ACCESS_ALWAYS_ON prompt "Memory Access and VM events" if !MEM_ACCESS_ALWAYS_ON depends on HVM - ---help--- + help Framework to configure memory access types for guests and receive related events in userspace.@@ -133,7 +133,7 @@ config INDIRECT_THUNK config SPECULATIVE_HARDEN_ARRAY bool "Speculative Array Hardening" default y - ---help--- + help Contemporary processors may use speculative execution as a performance optimisation, but this can potentially be abused by an attacker to leak data via speculative sidechannels.@@ -154,7 +154,7 @@ config SPECULATIVE_HARDEN_BRANCH bool "Speculative Branch Hardening" default y depends on X86 - ---help--- + help Contemporary processors may use speculative execution as a performance optimisation, but this can potentially be abused by an attacker to leak data via speculative sidechannels.@@ -228,7 +228,7 @@ config DIT_DEFAULT config HYPFS bool "Hypervisor file system support" default y - ---help--- + help Support Xen hypervisor file system. This file system is used to present various hypervisor internal data to dom0 and in some cases to allow modifying settings. Disabling the support will@@ -241,7 +241,7 @@ config HYPFS_CONFIG bool "Provide hypervisor .config via hypfs entry" default y depends on HYPFS - ---help--- + help When enabled the contents of the .config file used to build the hypervisor are provided via the hypfs entry /buildinfo/config.@@ -252,7 +252,7 @@ config IOREQ_SERVER bool "IOREQ support (EXPERT)" if EXPERT && !X86 default X86 depends on HVM - ---help--- + help Enables generic mechanism for providing emulated devices to the guests. If unsure, say N.@@ -261,7 +261,7 @@ config KEXEC bool "kexec support" default y depends on HAS_KEXEC - ---help--- + help Allows a running Xen hypervisor to be replaced with another OS without rebooting. This is primarily used to execute a crash environment to collect information on a Xen hypervisor or dom0 crash.@@ -270,7 +270,7 @@ config KEXEC config EFI_SET_VIRTUAL_ADDRESS_MAP bool "EFI: call SetVirtualAddressMap()" if EXPERT - ---help--- + help Call EFI SetVirtualAddressMap() runtime service to setup memory map for further runtime services. According to UEFI spec, it isn't strictly necessary, but many UEFI implementations misbehave when this call is@@ -292,7 +292,7 @@ config XENOPROF config XSM bool "Xen Security Modules support" default ARM - ---help--- + help Enables the security framework known as Xen Security Modules which allows administrators fine-grained control over a Xen domain and its capabilities by defining permissible interactions between domains,@@ -305,7 +305,7 @@ config XSM_FLASK def_bool y prompt "FLux Advanced Security Kernel support" depends on XSM - ---help--- + help Enables FLASK (FLux Advanced Security Kernel) as the access control mechanism used by the XSM framework. This provides a mandatory access control framework by which security enforcement, isolation, and@@ -318,7 +318,7 @@ config XSM_FLASK_AVC_STATS def_bool y prompt "Maintain statistics on the FLASK access vector cache" if EXPERT depends on XSM_FLASK - ---help--- + help Maintain counters on the access vector cache that can be viewed using the FLASK_AVC_CACHESTATS sub-op of the xsm_op hypercall. Disabling this will save a tiny amount of memory and time to update the stats.@@ -329,7 +329,7 @@ config XSM_FLASK_POLICY bool "Compile Xen with a built-in FLASK security policy" default y if "$(XEN_HAS_CHECKPOLICY)" = "y" depends on XSM_FLASK - ---help--- + help This includes a default XSM policy in the hypervisor so that the bootloader does not need to load a policy to get sane behavior from an XSM-enabled hypervisor. If this is disabled, a policy must be@@ -345,7 +345,7 @@ config XSM_SILO def_bool y prompt "SILO support" depends on XSM - ---help--- + help Enables SILO as the access control mechanism used by the XSM framework. This is not the default module, add boot parameter xsm=silo to choose it. This will deny any unmediated communication channels (grant tables@@ -372,7 +372,7 @@ config LATE_HWDOM bool "Dedicated hardware domain" default n depends on XSM && X86 - ---help--- + help Allows the creation of a dedicated hardware domain distinct from domain 0 that manages devices without needing access to other privileged functionality such as the ability to manage domains.@@ -390,7 +390,7 @@ config LATE_HWDOM config ARGO bool "Argo: hypervisor-mediated interdomain communication (UNSUPPORTED)" if UNSUPPORTED - ---help--- + help Enables a hypercall for domains to ask the hypervisor to perform data transfer of messages between domains.@@ -417,7 +417,7 @@ config LIVEPATCH default X86 depends on "$(XEN_HAS_BUILD_ID)" = "y" select CC_SPLIT_SECTIONS - ---help--- + help Allows a running Xen hypervisor to be dynamically patched using binary patches without rebooting. This is primarily used to binarily patch in the field an hypervisor with XSA fixes.@@ -428,7 +428,7 @@ config FAST_SYMBOL_LOOKUP bool "Fast symbol lookup (bigger binary)" default y depends on LIVEPATCH - ---help--- + help When searching for symbol addresses we can use the built-in system that is optimized for searching symbols using addresses as the key. However using it for the inverse (find address using the symbol name)@@ -440,7 +440,7 @@ config FAST_SYMBOL_LOOKUP config ENFORCE_UNIQUE_SYMBOLS bool "Enforce unique symbols" default LIVEPATCH - ---help--- + help Multiple symbols with the same name aren't generally a problem unless livepatching is to be used.@@ -454,7 +454,7 @@ config ENFORCE_UNIQUE_SYMBOLS config SUPPRESS_DUPLICATE_SYMBOL_WARNINGS bool "Suppress duplicate symbol warnings" depends on !ENFORCE_UNIQUE_SYMBOLS - ---help--- + help Multiple symbols with the same name aren't generally a problem unless Live patching is to be used, so these warnings can be suppressed by enabling this option. Certain other options (known@@ -464,7 +464,7 @@ config SUPPRESS_DUPLICATE_SYMBOL_WARNINGS config CMDLINE string "Built-in hypervisor command string" if EXPERT default "" - ---help--- + help Enter arguments here that should be compiled into the hypervisor image and used at boot time. When the system boots, this string will be parsed prior to the bootloader command line. So if a@@ -475,7 +475,7 @@ config CMDLINE_OVERRIDE bool "Built-in command line overrides bootloader arguments" default n depends on CMDLINE != "" - ---help--- + help Set this option to 'Y' to have the hypervisor ignore the bootloader command line, and use ONLY the built-in command line.@@ -485,7 +485,7 @@ config CMDLINE_OVERRIDE config DOM0_MEM string "Default value for dom0_mem boot parameter" default "" - ---help--- + help Sets a default value for dom0_mem, e.g. "512M". The specified string will be used for the dom0_mem parameter in case it was not specified on the command line.@@ -507,7 +507,7 @@ config DTB_FILE config TRACEBUFFER bool "Enable tracing infrastructure" if EXPERT default y - ---help--- + help Enable tracing infrastructure and pre-defined tracepoints within Xen. This will allow live information about Xen's execution and performance to be collected at run time for debugging or performance analysis.xen/common/sched/Kconfig +5
-5@@ -4,20 +4,20 @@ menu "Schedulers" config SCHED_CREDIT bool "Credit scheduler support" default y - ---help--- + help The traditional credit scheduler is a general purpose scheduler. config SCHED_CREDIT2 bool "Credit2 scheduler support" default y - ---help--- + help The credit2 scheduler is a general purpose scheduler that is optimized for lower latency and higher VM density. config SCHED_RTDS bool "RTDS scheduler support (UNSUPPORTED)" if UNSUPPORTED default DEBUG - ---help--- + help The RTDS scheduler is a soft and firm real-time scheduler for multicore, targeted for embedded, automotive, graphics and gaming in the cloud, and general low-latency workloads.@@ -25,14 +25,14 @@ config SCHED_RTDS config SCHED_ARINC653 bool "ARINC653 scheduler support (UNSUPPORTED)" if UNSUPPORTED default DEBUG - ---help--- + help The ARINC653 scheduler is a hard real-time scheduler for single cores, targeted for avionics, drones, and medical devices. config SCHED_NULL bool "Null scheduler support (UNSUPPORTED)" if UNSUPPORTED default PV_SHIM || DEBUG - ---help--- + help The null scheduler is a static, zero overhead scheduler, for when there always are less vCPUs than pCPUs, typically in embedded or HPC scenarios.xen/drivers/passthrough/Kconfig +4
-4@@ -6,7 +6,7 @@ if ARM config ARM_SMMU bool "ARM SMMUv1 and v2 driver" default y - ---help--- + help Support for implementations of the ARM System MMU architecture versions 1 and 2.@@ -16,7 +16,7 @@ config ARM_SMMU config ARM_SMMU_V3 bool "ARM Ltd. System MMU Version 3 (SMMUv3) Support" if EXPERT depends on ARM_64 && (!ACPI || BROKEN) - ---help--- + help Support for implementations of the ARM System MMU architecture version 3. Driver is in experimental stage and should not be used in production.@@ -27,7 +27,7 @@ config ARM_SMMU_V3 config IPMMU_VMSA bool "Renesas IPMMU-VMSA found in R-Car Gen3/Gen4 SoCs" depends on ARM_64 - ---help--- + help Support for implementations of the Renesas IPMMU-VMSA found in R-Car Gen3/Gen4 SoCs.@@ -68,7 +68,7 @@ choice prompt "IOMMU device quarantining default behavior" depends on HAS_PCI default IOMMU_QUARANTINE_BASIC - ---help--- + help When a PCI device is assigned to an untrusted domain, it is possible for that domain to program the device to DMA to an arbitrary address. The IOMMU is used to protect the host from malicious DMA by makingxen/drivers/video/Kconfig +1
-1@@ -7,7 +7,7 @@ config VGA select VIDEO depends on X86 default y if !PV_SHIM_EXCLUSIVE - ---help--- + help Enable VGA output for the Xen hypervisor. If unsure, say Y.xen/tools/kconfig/lexer.l +1
-1@@ -105,7 +105,7 @@ n [A-Za-z0-9_-] "endchoice" return T_ENDCHOICE; "endif" return T_ENDIF; "endmenu" return T_ENDMENU; -"help"|"---help---" return T_HELP; +"help" return T_HELP; "hex" return T_HEX; "if" return T_IF; "imply" return T_IMPLY;base-commit:
feb9158a620040846d76981acbe8ea9e2255a07bSignature · 1 line
2.30.2
Quoted 23 lines · Andrew Cooper
We deprecated the use of ---help--- a while ago, but a lot of new content
copy&pastes bad examples. Convert the remaining instances, and update
Kconfig's parser to no longer recongise it.This now causes builds to fail with:
Kconfig.debug:8: syntax errorKconfig.debug:7: unknown statement "---help---"which short circuits one common piece of churn in new content.
No functional change.
Signed-off-by Andrew Cooper <[email protected]>---
CC: George Dunlap <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Julien Grall <[email protected]>
CC: Oleksii Kurochko <[email protected]>
Quoted 5 lines
For 4.19. This cleans up a legacy we've been wanting to get rid of for a
while, and will be least disruptive on people if it gets in ahead of most
people starting work for 4.20.
I am okay with commiting the patch during 4.19 release:
Quoted 848 lines
---
xen/Kconfig | 2 +-
xen/Kconfig.debug | 28 +++++++++---------- xen/arch/arm/Kconfig | 8 +++--- xen/arch/arm/platforms/Kconfig | 12 ++++----- xen/arch/x86/Kconfig | 32 +++++++++++----------- xen/common/Kconfig | 48 ++++++++++++++++--------------- --
xen/common/sched/Kconfig | 10 +++---- xen/drivers/passthrough/Kconfig | 8 +++--- xen/drivers/video/Kconfig | 2 +- xen/tools/kconfig/lexer.l | 2 +-10 files changed, 76 insertions(+), 76 deletions(-)xen/Kconfig +0
-0@@ -84,7 +84,7 @@ config UNSUPPORTEDconfig LTO
bool "Link Time Optimisation" depends on BROKENxen/Kconfig +1
-1- ---help--- + helpEnable Link Time Optimisation.
If unsure, say N.xen/Kconfig.debug +0
-0@@ -4,7 +4,7 @@ menu "Debugging Options"config DEBUG
bool "Developer Checks"
default yxen/Kconfig.debug +1
-1- ---help--- + helpIf you say Y here this will enable developer checks such as asserts
and extra printks. This option is intended for development purposes
only, and not for production use.xen/Kconfig.debug +0
-0@@ -17,14 +17,14 @@ config GDBSXbool "Guest debugging with gdbsx" depends on X86
default yxen/Kconfig.debug +1
-1- ---help--- + helpIf you want to enable support for debugging guests from dom0 via
gdbsx then say Y.
configFRAME_POINTER
bool "Compile Xen with frame pointers"
default DEBUGxen/Kconfig.debug +1
-1- ---help--- + helpIf you say Y here the resulting Xen will be slightly larger and
maybe slower, but it gives very useful debugging information
in case of any Xen bugs.xen/Kconfig.debug +0
-0@@ -33,7 +33,7 @@ config COVERAGEbool "Code coverage support"
depends on !LIVEPATCH
selectSUPPRESS_DUPLICATE_SYMBOL_WARNINGSif !ENFORCE_UNIQUE_SYMBOLSxen/Kconfig.debug +1
-1- ---help--- + helpEnable code coverage support.
If unsure, say N here.xen/Kconfig.debug +0
-0@@ -41,7 +41,7 @@ config COVERAGEconfig
DEBUG_LOCK_PROFILE
bool "Lock Profiling"
selectDEBUG_LOCKSxen/Kconfig.debug +1
-1- ---help--- + helpLock profiling allows you to see how often locks are taken and blocked.
You can use serial console to print (and reset) using 'l' and 'L'
respectively, or the 'xenlockprof' tool.xen/Kconfig.debug +0
-0@@ -49,13 +49,13 @@ config DEBUG_LOCK_PROFILEconfig
DEBUG_LOCKS
bool "Lock debugging"
default DEBUGxen/Kconfig.debug +1
-1- ---help--- + helpEnable debugging features of lock handling. Some additional
checks will be performed when acquiring and releasing locks.
configPERF_COUNTERS
bool "Performance Counters"xen/Kconfig.debug +1
-1- ---help--- + helpEnables software performance counters that allows you to analyze
bottlenecks in the system. To access this data you can use serial
console to print (and reset) using 'p' and 'P' respectively, orxen/Kconfig.debug +0
-0@@ -64,21 +64,21 @@ config PERF_COUNTERSconfig
PERF_ARRAYS
bool "Performance Counter Array Histograms" depends onPERF_COUNTERSxen/Kconfig.debug +1
-1- ---help--- + helpEnables software performance counter array histograms.
configVERBOSE_DEBUG
bool "Verbose debug messages"
default DEBUGxen/Kconfig.debug +1
-1- ---help--- + helpGuest output from
HYPERVISOR_console_ioand hypervisor parsing
ELF images (dom0) will be logged in the Xen ring buffer.
configDEVICE_TREE_DEBUG
bool "Device tree debug messages"
depends onHAS_DEVICE_TREExen/Kconfig.debug +1
-1- ---help--- + helpDevice tree parsing and DOM0 device tree building messages are
logged in the Xen ring buffer.
If unsure, say N here.xen/Kconfig.debug +0
-0@@ -86,14 +86,14 @@ config DEVICE_TREE_DEBUGconfig
SCRUB_DEBUG
bool "Page scrubbing test"
default DEBUGxen/Kconfig.debug +1
-1- ---help--- + helpVerify that pages that need to be scrubbed before being allocated to
a guest are indeed scrubbed.
config UBSAN
bool "Undefined behaviour sanitizer"
depends onHAS_UBSANxen/Kconfig.debug +1
-1- ---help--- + helpEnable undefined behaviour sanitizer. It uses compiler to insert code
snippets so that undefined behaviours in C are detected during runtime.
This requires a UBSAN capable compiler and it is a debug only feature.xen/Kconfig.debug +0
-0@@ -109,7 +109,7 @@ config UBSAN_FATAL
configDEBUG_TRACE
bool "Debug trace support"xen/Kconfig.debug +1
-1- ---help--- + helpDebug trace enables to record debug trace messages which are printed
either directly to the console or are printed to console in case of
a system crash.xen/Kconfig.debug +0
-0@@ -117,7 +117,7 @@ config DEBUG_TRACEconfig
XMEM_POOL_POISON
bool "Poison free xenpool blocks" default DEBUGxen/Kconfig.debug +1
-1- ---help--- + helpPoison free blocks with
0xAAbytes and verify them when a block is
allocated in order to spot use-after-free issues.xen/arch/arm/Kconfig +0
-0@@ -67,7 +67,7 @@ source "arch/Kconfig"config ACPI
bool "ACPI (Advanced Configuration and Power Interface) Support (UNSUPPORTED)" if UNSUPPORTED
depends onARM_64&&ARM_EFIxen/arch/arm/Kconfig +1
-1- ---help--- + help
Advanced Configuration and Power Interface (ACPI) support for Xen is
an alternative to device tree on ARM64. This requires UEFI.xen/arch/arm/Kconfig +0
-0@@ -102,7 +102,7 @@ config GICV3depends on !NEW_VGIC
default n ifARM_32
default y ifARM_64xen/arch/arm/Kconfig +1
-1- ---help--- + help
Driver for the ARM Generic Interrupt Controller v3. If unsure, use the default setting.xen/arch/arm/Kconfig +0
-0@@ -132,7 +132,7 @@ config HVMconfig
NEW_VGIC
bool "Use new VGIC implementation" select GICV2xen/arch/arm/Kconfig +1
-1- ---help--- + help
This is an alternative implementation of the ARM GIC interrupt
controller emulation, based on the Linux/KVM VGIC. It has a betterxen/arch/arm/Kconfig +0
-0@@ -147,7 +147,7 @@ config NEW_VGICconfig
SBSA_VUART_CONSOLE
bool "Emulated SBSA UART console support" default yxen/arch/arm/Kconfig +1
-1- ---help--- + helpAllows a guest to use SBSA Generic UART as a console. The SBSA Generic UART implements a subset of ARM PL011 UART.
xen/arch/arm/platforms/Kconfig +0
-0@@ -1,14 +1,14 @@choice
prompt "Platform Support"
defaultALL_PLATxen/arch/arm/platforms/Kconfig +1
-1- ---help--- + helpChoose which hardware platform to enable in Xen.
If unsure, chooseALL_PLAT.
configALL_PLAT
bool "All Platforms"xen/arch/arm/platforms/Kconfig +1
-1- ---help--- + helpEnable support for all available hardware platforms. It doesn't
automatically select any of the related drivers.xen/arch/arm/platforms/Kconfig +0
-0@@ -17,7 +17,7 @@ config QEMUdepends on
ARM_64
select GICV3
selectHAS_PL011xen/arch/arm/platforms/Kconfig +1
-1- ---help--- + helpEnable all the required drivers for QEMU aarch64 virt emulated
machine.xen/arch/arm/platforms/Kconfig +0
-0@@ -26,7 +26,7 @@ config RCAR3depends on
ARM_64
selectHAS_SCIF
selectIPMMU_VMSAxen/arch/arm/platforms/Kconfig +1
-1- ---help--- + helpEnable all the required drivers for Renesas RCar3
config MPSOCxen/arch/arm/platforms/Kconfig +0
-0@@ -34,12 +34,12 @@ config MPSOCdepends on
ARM_64
selectHAS_CADENCE_UART
selectARM_SMMUxen/arch/arm/platforms/Kconfig +1
-1- ---help--- + helpEnable all the required drivers for Xilinx Ultrascale+ MPSoC
configNO_PLAT
bool "No Platforms"xen/arch/arm/platforms/Kconfig +1
-1- ---help--- + helpDo not enable specific support for any platform.
endchoicexen/arch/x86/Kconfig +0
-0@@ -58,7 +58,7 @@ source "arch/Kconfig"config PV
def_booly
prompt "PV support"xen/arch/x86/Kconfig +1
-1- ---help--- + helpInterfaces to support PV domains. These require guest kernel support
to run as a PV guest, but don't require any specific hardware support.xen/arch/x86/Kconfig +0
-0@@ -71,7 +71,7 @@ config PV32depends on PV
defaultPV_SHIM
select COMPATxen/arch/x86/Kconfig +1
-1- ---help--- + helpThe 32bit PV ABI uses Ring1, an area of the x86 architecture which
was deprecated and mostly removed in the AMD64 spec. As a result,
it occasionally conflicts with newer x86 hardware features, causingxen/arch/x86/Kconfig +0
-0@@ -90,7 +90,7 @@ config PV_LINEAR_PTbool "Support for PV linear pagetables" depends on PV
default y
- ---help---
+ help
Linear pagetables (also called "recursive pagetables") refers
to the practice of a guest operating system having pagetable
entries pointing to other pagetables of the same level (i.e.,xen/arch/x86/Kconfig +0
-0@@ -113,7 +113,7 @@ config HVMselect COMPAT
selectIOREQ_SERVER
selectMEM_ACCESS_ALWAYS_ONxen/arch/x86/Kconfig +1
-1- ---help--- + helpInterfaces to support HVM domains. HVM domains require hardware
virtualisation extensions (e.g. Intel VT-x, AMD SVM), but can boot
guests which have no specific Xen knowledge.xen/arch/x86/Kconfig +0
-0@@ -126,7 +126,7 @@ config XEN_SHSTKbool "Supervisor Shadow Stacks" depends on
HAS_AS_CET_SS
default yxen/arch/x86/Kconfig +1
-1- ---help--- + helpControl-flow Enforcement Technology (CET) is a set of features in
hardware designed to combat Return-oriented Programming (ROP, also
call/jump COP/JOP) attacks. Shadow Stacks are one CET featurexen/arch/x86/Kconfig +0
-0@@ -152,7 +152,7 @@ config SHADOW_PAGINGbool "Shadow Paging"
default !PV_SHIM_EXCLUSIVE
depends on PV || HVMxen/arch/x86/Kconfig +1
-1- ---help--- + help
Shadow paging is a software alternative to hardware paging support
(Intel EPT, AMD NPT).xen/arch/x86/Kconfig +0
-0@@ -171,7 +171,7 @@ config SHADOW_PAGINGconfig BIGMEM
bool "big memory support"
default nxen/arch/x86/Kconfig +1
-1- ---help--- + helpAllows Xen to support up to 123Tb of memory.
This requires enlarging structpage_infoas well as shrinkingxen/arch/x86/Kconfig +0
-0@@ -183,7 +183,7 @@ config HVM_FEPbool "HVM Forced Emulation Prefix support (UNSUPPORTED)" if UNSUPPORTED
default DEBUG
depends on HVMxen/arch/x86/Kconfig +1
-1- ---help--- + help
Compiles in a feature that allows HVM guest to arbitrarily exercise the instruction emulator.xen/arch/x86/Kconfig +0
-0@@ -203,7 +203,7 @@ config TBOOTdepends on UNSUPPORTED
default !PV_SHIM_EXCLUSIVE
select CRYPTOxen/arch/x86/Kconfig +1
-1- ---help--- + helpAllows support for Trusted Boot using the Intel(R) Trusted Execution
Technology (TXT)xen/arch/x86/Kconfig +0
-0@@ -213,14 +213,14 @@ choiceprompt "Alignment of Xen image" default
XEN_ALIGN_2MifPV_SHIM_EXCLUSIVEdefaultXEN_ALIGN_DEFAULTxen/arch/x86/Kconfig +1
-1- ---help--- + helpSpecify alignment for Xen image.
If unsure, choose "default".
configXEN_ALIGN_DEFAULT
bool "Default alignment"xen/arch/x86/Kconfig +1
-1- ---help--- + helpPick alignment according to build variants.
For EFI build the default alignment is 2M. For ELF buildxen/arch/x86/Kconfig +0
-0@@ -281,7 +281,7 @@ config GUESTconfig
XEN_GUEST
bool "Xen Guest"
select GUESTxen/arch/x86/Kconfig +1
-1- ---help--- + helpSupport for Xen detecting when it is running under Xen.
If unsure, say N.xen/arch/x86/Kconfig +0
-0@@ -290,7 +290,7 @@ config PVH_GUEST
def_booly
prompt "PVH Guest"
depends onXEN_GUESTxen/arch/x86/Kconfig +1
-1- ---help--- + helpSupport booting using the PVH ABI.
If unsure, say Y.xen/arch/x86/Kconfig +0
-0@@ -299,7 +299,7 @@ config PV_SHIM
def_booly
prompt "PV Shim"
depends on PV &&XEN_GUESTxen/arch/x86/Kconfig +1
-1- ---help--- + helpBuild Xen with a mode which acts as a shim to allow PV guest to run
in an HVM/PVH container. This mode can only be enabled with command
line option.xen/arch/x86/Kconfig +0
-0@@ -309,7 +309,7 @@ config PV_SHIMconfig
PV_SHIM_EXCLUSIVE
bool "PV Shim Exclusive"
depends onPV_SHIMxen/arch/x86/Kconfig +1
-1- ---help--- + helpBuild Xen in a way which unconditionally assumes
PV_SHIMmode. This
option is only intended for use when building a dedicated PV Shim
firmware, and will not function correctly in other scenarios.xen/arch/x86/Kconfig +0
-0@@ -321,7 +321,7 @@ if !PV_SHIM_EXCLUSIVEconfig
HYPERV_GUEST
bool "Hyper-V Guest"
select GUESTxen/arch/x86/Kconfig +1
-1- ---help--- + helpSupport for Xen detecting when it is running under Hyper- V.
If unsure, say N.xen/common/Kconfig +0
-0@@ -15,7 +15,7 @@ config CORE_PARKINGconfig
GRANT_TABLE
bool "Grant table support" if EXPERT default yxen/common/Kconfig +1
-1- ---help--- + helpGrant table provides a generic mechanism to memory sharing between domains. This shared memory interface underpins the
split device drivers for block and network IO in a classicxen/common/Kconfig +0
-0@@ -90,7 +90,7 @@ config MEM_ACCESS
def_boolMEM_ACCESS_ALWAYS_ONprompt "Memory Access and VM events" if !MEM_ACCESS_ALWAYS_ON
depends on HVMxen/common/Kconfig +1
-1- ---help--- + help
Framework to configure memory access types for guests and receive
related events in userspace.xen/common/Kconfig +0
-0@@ -133,7 +133,7 @@ config INDIRECT_THUNKconfig
SPECULATIVE_HARDEN_ARRAY
bool "Speculative Array Hardening" default yxen/common/Kconfig +1
-1- ---help--- + helpContemporary processors may use speculative execution as a performance optimisation, but this can potentially be abused by an
attacker to leak data via speculative sidechannels.xen/common/Kconfig +0
-0@@ -154,7 +154,7 @@ config SPECULATIVE_HARDEN_BRANCHbool "Speculative Branch Hardening"
default y
depends on X86
- ---help---
+ help
Contemporary processors may use speculative execution as a performance optimisation, but this can potentially be abused by an
attacker to leak data via speculative sidechannels.xen/common/Kconfig +0
-0@@ -228,7 +228,7 @@ config DIT_DEFAULTconfig HYPFS
bool "Hypervisor file system support" default yxen/common/Kconfig +1
-1- ---help--- + helpSupport Xen hypervisor file system. This file system is used to
present various hypervisor internal data to dom0 and in some
cases to allow modifying settings. Disabling the support willxen/common/Kconfig +0
-0@@ -241,7 +241,7 @@ config HYPFS_CONFIGbool "Provide hypervisor .config via hypfs entry" default y
depends on HYPFSxen/common/Kconfig +1
-1- ---help--- + helpWhen enabled the contents of the .config file used to build the
hypervisor are provided via the hypfs entry /buildinfo/config.xen/common/Kconfig +0
-0@@ -252,7 +252,7 @@ config IOREQ_SERVERbool "IOREQ support (EXPERT)" if EXPERT && !X86 default X86
depends on HVMxen/common/Kconfig +1
-1- ---help--- + helpEnables generic mechanism for providing emulated devices to the guests.
If unsure, say N.xen/common/Kconfig +0
-0@@ -261,7 +261,7 @@ config KEXECbool "kexec support"
default y
depends onHAS_KEXECxen/common/Kconfig +1
-1- ---help--- + helpAllows a running Xen hypervisor to be replaced with another OS
without rebooting. This is primarily used to execute a crash
environment to collect information on a Xen hypervisor or dom0 crash.xen/common/Kconfig +0
-0@@ -270,7 +270,7 @@ config KEXEC
configEFI_SET_VIRTUAL_ADDRESS_MAP
bool "EFI: callSetVirtualAddressMap()" if EXPERT
- ---help---
+ help
Call EFISetVirtualAddressMap()runtime service to setup memory map for
further runtime services. According to UEFI spec, it isn't strictly
necessary, but many UEFI implementations misbehave when this call isxen/common/Kconfig +0
-0@@ -292,7 +292,7 @@ config XENOPROFconfig XSM
bool "Xen Security Modules support" default ARMxen/common/Kconfig +1
-1- ---help--- + helpEnables the security framework known as Xen Security Modules which
allows administrators fine-grained control over a Xen domain and
its capabilities by defining permissible interactions between domains,xen/common/Kconfig +0
-0@@ -305,7 +305,7 @@ config XSM_FLASK
def_booly
prompt "FLux Advanced Security Kernel support" depends on XSMxen/common/Kconfig +1
-1- ---help--- + helpEnables FLASK (FLux Advanced Security Kernel) as the access control
mechanism used by the XSM framework. This provides a mandatory access
control framework by which security enforcement, isolation, andxen/common/Kconfig +0
-0@@ -318,7 +318,7 @@ config XSM_FLASK_AVC_STATS
def_booly
prompt "Maintain statistics on the FLASK access vector cache" if EXPERT
depends onXSM_FLASKxen/common/Kconfig +1
-1- ---help--- + helpMaintain counters on the access vector cache that can be viewed using
theFLASK_AVC_CACHESTATSsub-op of thexsm_ophypercall. Disabling
this will save a tiny amount of memory and time to update the stats.xen/common/Kconfig +0
-0@@ -329,7 +329,7 @@ config XSM_FLASK_POLICYbool "Compile Xen with a built-in FLASK security policy" default y if "$(XEN_HAS_CHECKPOLICY)" = "y" depends on
XSM_FLASKxen/common/Kconfig +1
-1- ---help--- + helpThis includes a default XSM policy in the hypervisor so that the
bootloader does not need to load a policy to get sane behavior from an
XSM-enabled hypervisor. If this is disabled, a policy must bexen/common/Kconfig +0
-0@@ -345,7 +345,7 @@ config XSM_SILO
def_booly
prompt "SILO support"
depends on XSMxen/common/Kconfig +1
-1- ---help--- + helpEnables SILO as the access control mechanism used by the XSM framework.
This is not the default module, add boot parameter xsm=silo to choose
it. This will deny any unmediated communication channels (grant tablesxen/common/Kconfig +0
-0@@ -372,7 +372,7 @@ config LATE_HWDOMbool "Dedicated hardware domain" default n
depends on XSM && X86xen/common/Kconfig +1
-1- ---help--- + helpAllows the creation of a dedicated hardware domain distinct from
domain 0 that manages devices without needing access to other
privileged functionality such as the ability to manage domains.xen/common/Kconfig +0
-0@@ -390,7 +390,7 @@ config LATE_HWDOM
config ARGO
bool "Argo: hypervisor-mediated interdomain communication (UNSUPPORTED)" if UNSUPPORTEDxen/common/Kconfig +1
-1- ---help--- + helpEnables a hypercall for domains to ask the hypervisor to perform
data transfer of messages between domains.xen/common/Kconfig +0
-0@@ -417,7 +417,7 @@ config LIVEPATCHdefault X86
depends on "$(XEN_HAS_BUILD_ID)" = "y" selectCC_SPLIT_SECTIONSxen/common/Kconfig +1
-1- ---help--- + helpAllows a running Xen hypervisor to be dynamically patched using
binary patches without rebooting. This is primarily used to binarily
patch in the field an hypervisor with XSA fixes.xen/common/Kconfig +0
-0@@ -428,7 +428,7 @@ config FAST_SYMBOL_LOOKUPbool "Fast symbol lookup (bigger binary)" default y
depends on LIVEPATCHxen/common/Kconfig +1
-1- ---help--- + helpWhen searching for symbol addresses we can use the built- in system
that is optimized for searching symbols using addresses as the key.
However using it for the inverse (find address using the symbol name)xen/common/Kconfig +0
-0@@ -440,7 +440,7 @@ config FAST_SYMBOL_LOOKUPconfig
ENFORCE_UNIQUE_SYMBOLS
bool "Enforce unique symbols" default LIVEPATCHxen/common/Kconfig +1
-1- ---help--- + helpMultiple symbols with the same name aren't generally a problem
unless livepatching is to be used.xen/common/Kconfig +0
-0@@ -454,7 +454,7 @@ config ENFORCE_UNIQUE_SYMBOLSconfig
SUPPRESS_DUPLICATE_SYMBOL_WARNINGSbool "Suppress duplicate symbol warnings" depends on !ENFORCE_UNIQUE_SYMBOLSxen/common/Kconfig +1
-1- ---help--- + helpMultiple symbols with the same name aren't generally a problem
unless Live patching is to be used, so these warnings can be
suppressed by enabling this option. Certain other options (knownxen/common/Kconfig +0
-0@@ -464,7 +464,7 @@ config SUPPRESS_DUPLICATE_SYMBOL_WARNINGSconfig CMDLINE
string "Built-in hypervisor command string" if EXPERT default ""xen/common/Kconfig +1
-1- ---help--- + helpEnter arguments here that should be compiled into the hypervisor
image and used at boot time. When the system boots, this string
will be parsed prior to the bootloader command line. So if axen/common/Kconfig +0
-0@@ -475,7 +475,7 @@ config CMDLINE_OVERRIDEbool "Built-in command line overrides bootloader arguments" default n
depends on CMDLINE != ""xen/common/Kconfig +1
-1- ---help--- + helpSet this option to 'Y' to have the hypervisor ignore the bootloader
command line, and use ONLY the built-in command line.xen/common/Kconfig +0
-0@@ -485,7 +485,7 @@ config CMDLINE_OVERRIDEconfig
DOM0_MEM
string "Default value fordom0_memboot parameter" default ""xen/common/Kconfig +1
-1- ---help--- + helpSets a default value for
dom0_mem, e.g. "512M". The specified string will be used for thedom0_memparameter in
case it was not specified on the command line.xen/common/Kconfig +0
-0@@ -507,7 +507,7 @@ config DTB_FILEconfig TRACEBUFFER
bool "Enable tracing infrastructure" if EXPERT default yxen/common/Kconfig +1
-1- ---help--- + helpEnable tracing infrastructure and pre-defined tracepoints within Xen.
This will allow live information about Xen's execution and performance
to be collected at run time for debugging or performance analysis.xen/common/sched/Kconfig +0
-0@@ -4,20 +4,20 @@ menu "Schedulers"config
SCHED_CREDIT
bool "Credit scheduler support" default yxen/common/sched/Kconfig +1
-1- ---help--- + helpThe traditional credit scheduler is a general purpose scheduler.
configSCHED_CREDIT2
bool "Credit2 scheduler support"
default yxen/common/sched/Kconfig +1
-1- ---help--- + helpThe credit2 scheduler is a general purpose scheduler that is
optimized for lower latency and higher VM density.
configSCHED_RTDS
bool "RTDS scheduler support (UNSUPPORTED)" if UNSUPPORTED default DEBUGxen/common/sched/Kconfig +1
-1- ---help--- + helpThe RTDS scheduler is a soft and firm real-time scheduler for
multicore, targeted for embedded, automotive, graphics and gaming
in the cloud, and general low-latency workloads.xen/common/sched/Kconfig +0
-0@@ -25,14 +25,14 @@ config SCHED_RTDSconfig
SCHED_ARINC653
bool "ARINC653 scheduler support (UNSUPPORTED)" if UNSUPPORTED
default DEBUGxen/common/sched/Kconfig +1
-1- ---help--- + helpThe ARINC653 scheduler is a hard real-time scheduler for single
cores, targeted for avionics, drones, and medical devices.
configSCHED_NULL
bool "Null scheduler support (UNSUPPORTED)" if UNSUPPORTED defaultPV_SHIM|| DEBUGxen/common/sched/Kconfig +1
-1- ---help--- + helpThe null scheduler is a static, zero overhead scheduler, for when there always are less vCPUs than pCPUs, typically in embedded or HPC scenarios.
xen/drivers/passthrough/Kconfig +0
-0@@ -6,7 +6,7 @@ if ARMconfig
ARM_SMMU
bool "ARM SMMUv1 and v2 driver" default yxen/drivers/passthrough/Kconfig +1
-1- ---help--- + helpSupport for implementations of the ARM System MMU architecture
versions 1 and 2.xen/drivers/passthrough/Kconfig +0
-0@@ -16,7 +16,7 @@ config ARM_SMMUconfig
ARM_SMMU_V3
bool "ARM Ltd. System MMU Version 3 (SMMUv3) Support" if EXPERT
depends onARM_64&& (!ACPI || BROKEN)xen/drivers/passthrough/Kconfig +1
-1- ---help--- + helpSupport for implementations of the ARM System MMU architecture
version 3. Driver is in experimental stage and should not be used in
production.xen/drivers/passthrough/Kconfig +0
-0@@ -27,7 +27,7 @@ config ARM_SMMU_V3config
IPMMU_VMSA
bool "Renesas IPMMU-VMSA found in R-Car Gen3/Gen4 SoCs" depends onARM_64xen/drivers/passthrough/Kconfig +1
-1- ---help--- + helpSupport for implementations of the Renesas IPMMU-VMSA found
in R-Car Gen3/Gen4 SoCs.xen/drivers/passthrough/Kconfig +0
-0@@ -68,7 +68,7 @@ choiceprompt "IOMMU device quarantining default behavior" depends on
HAS_PCI
defaultIOMMU_QUARANTINE_BASICxen/drivers/passthrough/Kconfig +1
-1- ---help--- + helpWhen a PCI device is assigned to an untrusted domain, it is possible
for that domain to program the device to DMA to an arbitrary address.
The IOMMU is used to protect the host from malicious DMA by makingxen/drivers/video/Kconfig +0
-0@@ -7,7 +7,7 @@ config VGAselect VIDEO
depends on X86
default y if !PV_SHIM_EXCLUSIVExen/drivers/video/Kconfig +1
-1- ---help--- + helpEnable VGA output for the Xen hypervisor.
If unsure, say Y.xen/tools/kconfig/lexer.l +1
-1@@ -105,7 +105,7 @@ n [A-Za-z0-9_-] "endchoice" return T_ENDCHOICE; "endif" return T_ENDIF; "endmenu" return T_ENDMENU; -"help"|"---help---" return T_HELP; +"help" return T_HELP; "hex" return T_HEX; "if" return T_IF; "imply" return T_IMPLY;base-commit:
feb9158a620040846d76981acbe8ea9e2255a07b