QEMU-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] scsi: Fix discard_granularity for -drive if=scsi
@ 2026-04-10 15:23 Kevin Wolf
  2026-04-10 15:23 ` [PATCH 1/2] block: Create DEFAULT_BLOCK_CONF macro Kevin Wolf
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Kevin Wolf @ 2026-04-10 15:23 UTC (permalink / raw)
  To: qemu-block; +Cc: kwolf, hreitz, ivy, pbonzini, fam, qemu-devel, qemu-stable

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



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

end of thread, other threads:[~2026-05-13 12:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-10 15:23 [PATCH 0/2] scsi: Fix discard_granularity for -drive if=scsi Kevin Wolf
2026-04-10 15:23 ` [PATCH 1/2] block: Create DEFAULT_BLOCK_CONF macro Kevin Wolf
2026-04-10 15:23 ` [PATCH 2/2] block: Add more defaults to DEFAULT_BLOCK_CONF Kevin Wolf
2026-05-13  6:36 ` [PATCH 0/2] scsi: Fix discard_granularity for -drive if=scsi Michael Tokarev
2026-05-13 12:12   ` Kevin Wolf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox