Skip to content

scsi: Fix discard_granularity for -drive if=scsi

Kevin Wolf qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2block: Create DEFAULT_BLOCK_CONF macrohw/scsi/scsi-bus.c include/hw/block/block.h+8 -60 replies
2/2block: Add more defaults to DEFAULT_BLOCK_CONFinclude/hw/block/block.h+5 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] scsi: Fix discard_granularity for -drive if=scsi

This fixes the default for discard_granularity with -drive if=scsi, which was unintentionally 0 (disable discard) instead of sharing the default with the qdev property used for -device scsi-hd (usually 4096). This was a regression in QEMU 9.0.

Kevin Wolf (2):
block: Create DEFAULT_BLOCK_CONF macro
block: Add more defaults to DEFAULT_BLOCK_CONF

 include/hw/block/block.h | 12 ++++++++++++
 hw/scsi/scsi-bus.c       |  7 +------
 2 files changed, 13 insertions(+), 6 deletions(-)
Signature · 1 line
2.53.0