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

The length of the PCI IPLB is calculated by size of the IplBlockPci struct
plus the number of bytes used for common IPLB fields.

Fix the S390_IPLB_MIN_PCI_LEN to reflect this, and assign a valid blk0_len
while we are at it.

Cc: [email protected]
Fixes: 395116781df5 ("s390x: Build IPLB for virtio-pci devices")
Signed-off-by: Jared Rossi <[email protected]>
---
  hw/s390x/ipl.c              | 2 ++
  include/hw/s390x/ipl/qipl.h | 2 +-
  2 files changed, 3 insertions(+), 1 deletion(-)

Thanks. The rest of the cleanup will be nice, but for this as a -stable candidate:

Reviewed-by: Eric Farman <[email protected]>

Reply via email to