[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC v3 0/2] Add zoned storage emulation to virtio-blk driver
From: |
Sam Li |
Subject: |
[RFC v3 0/2] Add zoned storage emulation to virtio-blk driver |
Date: |
Sun, 16 Oct 2022 23:05:04 +0800 |
Note: the virtio-blk headers isn't upstream in the kernel yet therefore
marked as an RFC.
v3:
- use qemuio_from_buffer to write status bit [Stefan]
- avoid using req->elem directly [Stefan]
- fix error checkings and memory leak [Stefan]
v2:
- change units of emulated zone op coresponding to block layer APIs
- modify error checking cases [Stefan, Damien]
v1:
- add zoned storage emulation
Sam Li (2):
include: update virtio_blk headers from Linux 5.19-rc2+
virtio-blk: add zoned storage emulation for zoned devices
hw/block/virtio-blk-common.c | 2 +
hw/block/virtio-blk.c | 412 +++++++++++++++++++-
include/hw/virtio/virtio-blk.h | 11 +-
include/standard-headers/linux/virtio_blk.h | 109 ++++++
4 files changed, 531 insertions(+), 3 deletions(-)
--
2.37.3
- [RFC v3 0/2] Add zoned storage emulation to virtio-blk driver,
Sam Li <=