]> git.proxmox.com Git - mirror_qemu.git/commit
pc-bios/s390-ccw: don't try to read the next block if end of chunk is reached
authorMarc Hartmayer <mhartmay@linux.ibm.com>
Fri, 16 Apr 2021 07:47:36 +0000 (09:47 +0200)
committerThomas Huth <thuth@redhat.com>
Sun, 9 May 2021 16:14:31 +0000 (18:14 +0200)
commita6625d38cce3901a7c1cba069f0abcf743a293f1
tree20bd2320c0b0c680a340285447f1108c965edfee
parentd90f154867ec0ec22fd719164b88716e8fd48672
pc-bios/s390-ccw: don't try to read the next block if end of chunk is reached

Don't read the block if a null block number is reached, because this means that
the end of chunk is reached.

Reviewed-by: Collin Walling <walling@linux.ibm.com>
Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Message-Id: <20210416074736.17409-1-mhartmay@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
pc-bios/s390-ccw/bootmap.c