*** This patch series adds support for zoned device to virtio-blk emulation. Zoned Storage can support sequential writes, which reduces write amplification in SSD, leading to higher write throughput and increased capacity.
v3: - add block layer APIs resembling Linux ZoneBlockDevice ioctls (developing) *** Sam Li (5): block: add block layer APIs resembling Linux ZonedBlockDevice ioctls. qemu-io: add zoned block device operations. file-posix: introduce get_sysfs_long_val for zoned device information. file-posix: introduce get_sysfs_str_val for device zoned model. qemu-iotests: add zone operation tests. block/block-backend.c | 56 +++++ block/coroutines.h | 5 + block/file-posix.c | 325 +++++++++++++++++++++++++++++- block/io.c | 21 ++ include/block/block-common.h | 43 +++- include/block/block-io.h | 13 ++ include/block/block_int-common.h | 20 ++ qemu-io-cmds.c | 121 +++++++++++ tests/qemu-iotests/tests/zoned.sh | 49 +++++ 9 files changed, 645 insertions(+), 8 deletions(-) create mode 100755 tests/qemu-iotests/tests/zoned.sh -- 2.35.3