Skip to contentSkip to conversation

Block layer patches

GIT PULL Kevin Wolf 2 participants 2 messages Aug 6, 2024

lore
Share & tools
lore

Kevin Wolf

author
#0 lore raw

The following changes since commit e7207a9971dd41618b407030902b0b2256deb664:

Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2024-08-06 08:02:34 +1000)

are available in the Git repository at:

https://repo.or.cz/qemu/kevin.git tags/for-upstream

for you to fetch changes up to 91f16b6cdccd2942ae09d155cf3f79e6bbb485d5:

iotests/024: exclude 'backing file format' field from the output (2024-08-06 09:54:24 +0200)

----------------------------------------------------------------
Block layer patches

- scsi-block: Fix error handling with r/werror=stop
- Depend on newer clang for TSA, make WITH_GRAPH_RDLOCK_GUARD() fully checked, fix block-copy to add missing lock
- vvfat: Fix write bugs for large files and add iotests
- Clean up blockdev-snapshot-internal-sync doc
- Fix iotests 024 for qed

----------------------------------------------------------------
Amjad Alsharafi (5):
vvfat: Fix bug in writing to middle of file
vvfat: Fix usage of info.file.offset
vvfat: Fix wrong checks for cluster mappings invariant
vvfat: Fix reading files with non-continuous clusters
iotests: Add vvfat tests

Andrey Drobyshev (1):
iotests/024: exclude 'backing file format' field from the output

Kevin Wolf (6):
block-copy: Fix missing graph lock
block/graph-lock: Make WITH_GRAPH_RDLOCK_GUARD() fully checked
scsi-disk: Use positive return value for status in dma_readv/writev
scsi-block: Don't skip callback for sgio error status/driver_status
scsi-disk: Add warning comments that host_status errors take a shortcut
scsi-disk: Always report RESERVATION_CONFLICT to guest

Markus Armbruster (1):
qapi-block-core: Clean up blockdev-snapshot-internal-sync doc

 qapi/block-core.json               |   7 +-
 include/block/graph-lock.h         |  21 +-
 block/block-copy.c                 |   4 +-
 block/vvfat.c                      |  27 +-
 hw/scsi/scsi-disk.c                |  73 ++--
 tests/qemu-iotests/fat16.py        | 690 +++++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/testenv.py      |   2 +-
 meson.build                        |  14 +-
 tests/qemu-iotests/024             |   2 +-
 tests/qemu-iotests/024.out         |   1 -
 tests/qemu-iotests/check           |   2 +-
 tests/qemu-iotests/tests/vvfat     | 485 ++++++++++++++++++++++++++
 tests/qemu-iotests/tests/vvfat.out |   5 +
 13 files changed, 1280 insertions(+), 53 deletions(-)
 create mode 100644 tests/qemu-iotests/fat16.py
 create mode 100755 tests/qemu-iotests/tests/vvfat
 create mode 100755 tests/qemu-iotests/tests/vvfat.out
#1 lore raw
Quoted 15 lines · Kevin Wolf

The following changes since commit e7207a9971dd41618b407030902b0b2256deb664:

   Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2024-08-06 08:02:34 +1000)

are available in the Git repository at:

https://repo.or.cz/qemu/kevin.git tags/for-upstream

for you to fetch changes up to 91f16b6cdccd2942ae09d155cf3f79e6bbb485d5:

iotests/024: exclude 'backing file format' field from the output (2024-08-06 09:54:24 +0200)

----------------------------------------------------------------
Block layer patches

Quoted 6 lines

- scsi-block: Fix error handling with r/werror=stop
- Depend on newer clang for TSA, make WITH_GRAPH_RDLOCK_GUARD() fully checked, fix block-copy to add missing lock
- vvfat: Fix write bugs for large files and add iotests
- Clean up blockdev-snapshot-internal-sync doc
- Fix iotests 024 for qed

Fails testing:

https://gitlab.com/qemu-project/qemu/-/jobs/7515110500

fat16.py:308:44: E1131: unsupported operand type(s) for | (unsupported-binary-operation)
fat16.py:392:23: E1131: unsupported operand type(s) for | (unsupported-binary-operation)
fat16.py:466:42: E1131: unsupported operand type(s) for | (unsupported-binary-operation)
fat16.py:500:31: E1131: unsupported operand type(s) for | (unsupported-binary-operation)
fat16.py:500:60: E1131: unsupported operand type(s) for | (unsupported-binary-operation)
Quoted 14 lines
  qapi/block-core.json               |   7 +-
  include/block/graph-lock.h         |  21 +-
  block/block-copy.c                 |   4 +-
  block/vvfat.c                      |  27 +-
  hw/scsi/scsi-disk.c                |  73 ++--
  tests/qemu-iotests/fat16.py        | 690 +++++++++++++++++++++++++++++++++++++
  tests/qemu-iotests/testenv.py      |   2 +-
  meson.build                        |  14 +-
  tests/qemu-iotests/024             |   2 +-
  tests/qemu-iotests/024.out         |   1 -
  tests/qemu-iotests/check           |   2 +-
  tests/qemu-iotests/tests/vvfat     | 485 ++++++++++++++++++++++++++
  tests/qemu-iotests/tests/vvfat.out |   5 +
  13 files changed, 1280 insertions(+), 53 deletions(-)
Quoted 3 lines

create mode 100644 tests/qemu-iotests/fat16.py create mode 100755 tests/qemu-iotests/tests/vvfat create mode 100755 tests/qemu-iotests/tests/vvfat.out

r~