Skip to content

pc-bios/s390-ccw: Fix problems related to network booting

Thomas Huth qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3pc-bios/s390-ccw/virtio: Add a function to reset a virtio devicepc-bios/s390-ccw/virtio.c pc-bios/s390-ccw/virtio.h+7 -11 reply
2/3pc-bios/s390-ccw: Fix boot problem with virtio-net devicespc-bios/s390-ccw/netmain.c pc-bios/s390-ccw/virtio-net.c pc-bios/s390-ccw/virtio.h+29 -102 replies
3/3pc-bios/s390-ccw/netmain: Fix error messages with regards to the TFTP serverpc-bios/s390-ccw/netmain.c+8 -111 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJared RossiEric Farman
SeriesT-b R-b
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] pc-bios/s390-ccw: Fix problems related to network booting

The boot can currently fail after the s390-ccw bios used a network device since we do not properly shut down the device afterwards, so that incoming network packets can corrupt the memory. We have to make sure to put the virtio-net device into a sane state again afterwards.

The third patch is unrelated, but I spotted this rather cosmetic problem while working on the code in netmain.c, so I included it here, too.

Thomas Huth (3):
pc-bios/s390-ccw/virtio: Add a function to reset a virtio device pc-bios/s390-ccw: Fix boot problem with virtio-net devices pc-bios/s390-ccw/netmain: Fix error messages with regards to the TFTP
server

 pc-bios/s390-ccw/virtio.h     |  2 ++
 pc-bios/s390-ccw/netmain.c    | 52 +++++++++++++++++++++--------------
 pc-bios/s390-ccw/virtio-net.c |  5 ++++
 pc-bios/s390-ccw/virtio.c     |  7 ++++-
 4 files changed, 44 insertions(+), 22 deletions(-)
Signature · 1 line
2.47.1