On 08/04/2025 17.55, Zhuoying Cai wrote:
The `-secure-boot on|off` command line option is implemented
to enable secure IPL.
By default, -secure-boot is set to false if not specified in
the command line.
Signed-off-by: Zhuoying Cai <zy...@linux.ibm.com>
---
qemu-options.hx | 8 ++++++++
system/vl.c | 21 +++++++++++++++++++++
2 files changed, 29 insertions(+)
diff --git a/qemu-options.hx b/qemu-options.hx
index b460c63490..02d2f4d513 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -1262,6 +1262,14 @@ SRST
A colon may be used to delineate multiple paths.
ERST
+DEF("secure-boot", HAS_ARG, QEMU_OPTION_secure_boot,
+ "-secure-boot on|off\n"
+ " enable/disable secure boot\n", QEMU_ARCH_S390X)
+SRST
+``-secure-boot on|off``
+ Enable/disable secure boot. Default is off.
+ERST
As with patch 1, please try to turn this into a machine option instead.
Thanks,
Thomas