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

Kevin Wolf posted 2 patches 1 day ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260410152314.86412-1-kwolf@redhat.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Fam Zheng <fam@euphon.net>
include/hw/block/block.h | 12 ++++++++++++
hw/scsi/scsi-bus.c       |  7 +------
2 files changed, 13 insertions(+), 6 deletions(-)
[PATCH 0/2] scsi: Fix discard_granularity for -drive if=scsi
Posted by Kevin Wolf 1 day ago
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(-)

-- 
2.53.0