File 0002-Create-fake-ibm-trusted-boot-property.patch of Package qemu

From ed32d0616b6bb58ef4a2bab798e16350c214dd80 Mon Sep 17 00:00:00 2001
From: Daniel Axtens <dja@axtens.net>
Date: Thu, 25 Jun 2020 08:22:55 +1000
Subject: [PATCH 2/3] Create fake ibm,trusted-boot property

/ibm,trusted-boot = 1

Signed-off-by: Daniel Axtens <dja@axtens.net>
---
 hw/ppc/spapr.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index bd5c43c16a..a0514d4dc0 100644
--- a/hw/ppc/spapr.c
+++ b/hw/ppc/spapr.c
@@ -1119,6 +1119,7 @@ static void spapr_dt_stb(SpaprMachineState *spapr, void *fdt)
 {
     _FDT(fdt_setprop_cell(fdt, 0, "ibm,fw-secure-boot", 1));
     _FDT(fdt_setprop_cell(fdt, 0, "ibm,secure-boot", 2));
+    _FDT(fdt_setprop_cell(fdt, 0, "ibm,trusted-boot", 1));
 }
 
 
-- 
2.33.1

openSUSE Build Service is sponsored by