qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [RFC v3 0/2] Add zoned storage emulation to virtio-blk driver
@ 2022-10-16 15:05 Sam Li
  2022-10-16 15:05 ` [RFC v3 1/2] include: update virtio_blk headers from Linux 5.19-rc2+ Sam Li
  2022-10-16 15:05 ` [RFC v3 2/2] virtio-blk: add zoned storage emulation for zoned devices Sam Li
  0 siblings, 2 replies; 9+ messages in thread
From: Sam Li @ 2022-10-16 15:05 UTC (permalink / raw)
  To: qemu-devel
  Cc: dmitry.fomichev, Michael S. Tsirkin, hare, qemu-block,
	damien.lemoal, Raphael Norwitz, Stefan Hajnoczi, Hanna Reitz,
	Kevin Wolf, Sam Li

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



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-10-24  4:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-16 15:05 [RFC v3 0/2] Add zoned storage emulation to virtio-blk driver Sam Li
2022-10-16 15:05 ` [RFC v3 1/2] include: update virtio_blk headers from Linux 5.19-rc2+ Sam Li
2022-10-17  0:53   ` Dmitry Fomichev
2022-10-17  2:12     ` Damien Le Moal
2022-10-16 15:05 ` [RFC v3 2/2] virtio-blk: add zoned storage emulation for zoned devices Sam Li
2022-10-17  0:59   ` Dmitry Fomichev
2022-10-18  8:56     ` Sam Li
2022-10-23  2:08       ` Dmitry Fomichev
2022-10-23  3:01         ` Sam Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).