Skip to content

scsi: add block job opblockers for scsi-block

Paolo Bonzini qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2scsi: add unrealize method for SCSI deviceshw/scsi/scsi-bus.c include/hw/scsi/scsi.h+5 -01 reply
2/2scsi: add block job opblockers for scsi-blockblock/block-backend.c hw/scsi/scsi-disk.c include/sysemu/block-backend.h+72 -012 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchFam Zheng
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] scsi: add block job opblockers for scsi-block

SCSI passthrough bypasses the block layer and issues SCSI commands directly to the disk. This breaks write notifiers and dirty bitmaps, so that scsi-block devices cannot act as a mirror or backup source (and commit too, even though that shouldn't be possible at all in the lack of a backing file). This series adds op blockers for that purpose.

There is currently a blk_op_unblock but no blk_op_block, so patch 2 adds it.

Paolo

Paolo Bonzini (2):
scsi: add unrealize method for SCSI devices
scsi: add block job opblockers for scsi-block

 block/block-backend.c          |  9 ++++++
 hw/scsi/scsi-bus.c             |  4 +++
 hw/scsi/scsi-disk.c            | 62 ++++++++++++++++++++++++++++++++++++++++++
 include/hw/scsi/scsi.h         |  1 +
 include/sysemu/block-backend.h |  1 +
 5 files changed, 77 insertions(+)
Signature · 1 line
2.14.3