qemu-e2k/include
Kevin Wolf 3089637461 scsi: Don't ignore most usb-storage properties
usb-storage is for the most part just a wrapper around an internally
created scsi-disk device. It uses DEFINE_BLOCK_PROPERTIES() to offer all
of the usual block device properties to the user, but then only forwards
a few select properties to the internal device while the rest is
silently ignored.

This changes scsi_bus_legacy_add_drive() to accept a whole BlockConf
instead of some individual values inside of it so that usb-storage can
now pass the whole configuration to the internal scsi-disk. This enables
the remaining block device properties, e.g. logical/physical_block_size
or discard_granularity.

Buglink: https://issues.redhat.com/browse/RHEL-22375
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-ID: <20240131130607.24117-1-kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2024-02-07 15:25:13 +01:00
..
authz
block stream: Allow users to request only format driver names in backing file format 2024-01-26 11:16:58 +01:00
chardev chardev: use bool for fe_is_open 2024-01-12 13:23:48 +00:00
crypto
disas
exec include/exec: Change cpu_mmu_index argument to CPUState 2024-02-03 16:46:10 +10:00
fpu
gdbstub
hw scsi: Don't ignore most usb-storage properties 2024-02-07 15:25:13 +01:00
io Rename "QEMU global mutex" to "BQL" in comments and docs 2024-01-08 10:45:43 -05:00
libdecnumber
migration Replace "iothread lock" with "BQL" in comments 2024-01-08 10:45:43 -05:00
monitor
net net: make nb_nics and nd_table[] static in net/net.c 2024-02-02 16:23:48 +00:00
qapi qapi: Fix dangling references to docs/devel/qapi-code-gen.txt 2024-01-26 07:04:53 +01:00
qemu trivial patches for 2024-01-31 2024-01-31 19:53:45 +00:00
qom qom: Add object_property_set_default_list() 2023-11-10 18:19:14 +01:00
scsi
semihosting
standard-headers linux-headers: Synchronize linux headers from linux v6.7.0-rc8 2024-01-11 19:14:00 +08:00
sysemu HW core patch queue 2024-01-19 11:39:38 +00:00
tcg accel/tcg: Move perf and debuginfo support to tcg/ 2024-01-29 21:04:10 +10:00
ui include: Clean up includes 2024-01-30 21:20:20 +03:00
user
elf.h
glib-compat.h
qemu-io.h
qemu-main.h