All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/3] Extend secure IPL support to virtio-blk-pci boot devices
@ 2026-08-12 15:21 Joshua Daley
  2026-08-12 15:21 ` [PATCH v1 1/3] hw/s390x/ipl: Add secure boot support to PCI dev IPLB builder Joshua Daley
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Joshua Daley @ 2026-08-12 15:21 UTC (permalink / raw)
  To: qemu-s390x
  Cc: qemu-devel, jrossi, zycai, borntraeger, jjherne, pasic, farman,
	mjrosato, richard.henderson, iii, david, cohuck, jdaley

This series is based on Zhuoying Cai's series,
"[PATCH v17 00/34] Secure IPL Support for SCSI Scheme of virtio-blk/virtio-scsi Devices"
https://lore.kernel.org/qemu-devel/20260730214624.2328883-1-zycai@linux.ibm.com/

Note, the above series is based on Cornelia Huck's patch,
"[PATCH for-11.2] hw: add compat machines for 11.2"
https://lore.kernel.org/qemu-devel/20260723163806.368127-1-cohuck@redhat.com/
which requires a small fix to apply (see Eric Farman's reply).

---

To add support for secure IPL with a virtio-blk-pci boot device, we simply
write secure boot flags to the IPLB when using such a boot device.
This is achieved by calling s390_apply_secure_boot() in the PCI boot
device case of s390_build_iplb().

The secure IPL functional verification test is updated with an additional
subtest for the virtio-blk-pci boot device case. To run the FVT:

  make check-functional-s390x MTESTARGS="func-s390x-secure_ipl" \
  QEMU_TEST_ALLOW_LARGE_STORAGE=1

To test secure IPL yourself, view the "Secure IPL Quickstart" guide in:
docs/system/s390x/secure-ipl.rst

Joshua Daley (3):
  hw/s390x/ipl: Add secure boot support to PCI dev IPLB builder
  tests/functional/s390x/test_secure_ipl: Skip test if SIPL not
    supported by hypervisor
  tests/functional/s390x/test_secure_ipl: Add virtio-blk-pci boot dev
    case

 hw/s390x/ipl.c                            |  8 +--
 tests/functional/s390x/test_secure_ipl.py | 88 +++++++++++++++++------
 2 files changed, 68 insertions(+), 28 deletions(-)

-- 
2.34.1



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2026-08-24 16:40 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-12 15:21 [PATCH v1 0/3] Extend secure IPL support to virtio-blk-pci boot devices Joshua Daley
2026-08-12 15:21 ` [PATCH v1 1/3] hw/s390x/ipl: Add secure boot support to PCI dev IPLB builder Joshua Daley
2026-08-17 18:54   ` Jared Rossi
2026-08-17 19:34   ` Zhuoying Cai
2026-08-24 13:49   ` Matthew Rosato
2026-08-12 15:21 ` [PATCH v1 2/3] tests/functional/s390x/test_secure_ipl: Skip test if SIPL not supported by hypervisor Joshua Daley
2026-08-17 20:01   ` Jared Rossi
2026-08-24 13:50   ` Matthew Rosato
2026-08-24 16:40   ` Zhuoying Cai
2026-08-12 15:21 ` [PATCH v1 3/3] tests/functional/s390x/test_secure_ipl: Add virtio-blk-pci boot dev case Joshua Daley
2026-08-17 20:02   ` Jared Rossi
2026-08-24 14:55   ` Matthew Rosato
2026-08-24 16:38     ` Joshua Daley
2026-08-24 16:39       ` Matthew Rosato

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.