scsi: Fix discard_granularity for -drive if=scsi
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | block: Create DEFAULT_BLOCK_CONF macrohw/ include/ | +8 | 0 replies | |
| 2/2 | block: Add more defaults to DEFAULT_BLOCK_CONFinclude/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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