On 8/31/26 3:49 PM, [email protected] wrote:
From: Jared Rossi <[email protected]>

Rather than add a second non-architected IPLB type for scsi-pci devices,
let's add the relevant fields to the existing struct so that it can handle
both PCI and CCW scsi controllers.

The PCI and CCW fields of the IplBlockQemuScsi are aligned with same
offsets as the corresponding fields in IplBlockPci and IplBlockCcw for
potential union access.

Add comments for PCI/CCW specifics and also denote that the S390IplType
enum values must fit in uint8_t.

Reviewed-by: Eric Farman <[email protected]>
Signed-off-by: Jared Rossi <[email protected]>
---
  hw/s390x/ipl.c              |  1 +
  hw/s390x/ipl.h              |  2 ++
  include/hw/s390x/ipl/qipl.h | 13 +++++++++----
  3 files changed, 12 insertions(+), 4 deletions(-)

Reviewed-by: Jason J. Herne <[email protected]>

Reply via email to