[RFC v3 0/2] Add zoned storage emulation to virtio-blk driver

Sam Li posted 2 patches 1 year, 7 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20221016150506.172675-1-faithilikerun@gmail.com
Maintainers: "Michael S. Tsirkin" <mst@redhat.com>, Stefan Hajnoczi <stefanha@redhat.com>, Raphael Norwitz <raphael.norwitz@nutanix.com>, Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>
There is a newer version of this series
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(-)
[RFC v3 0/2] Add zoned storage emulation to virtio-blk driver
Posted by Sam Li 1 year, 7 months ago
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