qemu/hw/block
Alexander Graf ee241d79bb hw/vmapple/virtio-blk: Add support for apple virtio-blk
Apple has its own virtio-blk PCI device ID where it deviates from the
official virtio-pci spec slightly: It puts a new "apple type"
field at a static offset in config space and introduces a new barrier
command.

This patch first creates a mechanism for virtio-blk downstream classes to
handle unknown commands. It then creates such a downstream class and a new
vmapple-virtio-blk-pci class which support the additional apple type config
identifier as well as the barrier command.

The 'aux' or 'root' device type are selected using the 'variant' property.

Signed-off-by: Alexander Graf <graf@amazon.com>
Signed-off-by: Phil Dennis-Jordan <phil@philjordan.eu>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Tested-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20241223221645.29911-13-phil@philjordan.eu>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
2025-03-04 14:45:34 +01:00
..
dataplane include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
block.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
cdrom.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
fdc-internal.h hw/block/fdc-sysbus: Move iomem from FDCtrl to FDCtrlSysBus 2024-02-14 06:09:32 -05:00
fdc-isa.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
fdc-sysbus.c include/hw/qdev-properties: Remove DEFINE_PROP_END_OF_LIST 2024-12-19 19:36:37 +01:00
fdc.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
hd-geometry.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
Kconfig hw/block: Remove ecc 2024-10-15 15:16:17 +01:00
m25p80.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
m25p80_sfdp.c hw/block/m25p80: Add SFDP table for w25q80bl flash 2024-10-24 07:57:47 +02:00
m25p80_sfdp.h hw/block/m25p80: Add SFDP table for w25q80bl flash 2024-10-24 07:57:47 +02:00
meson.build hw/block: Remove ecc 2024-10-15 15:16:17 +01:00
nand.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
pflash_cfi01.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
pflash_cfi02.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
swim.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
trace-events hw/pflash: implement update buffer for block writes 2024-01-19 12:28:59 +01:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
vhost-user-blk.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
virtio-blk-common.c virtio-blk: add zoned storage emulation for zoned devices 2023-05-15 08:18:10 -04:00
virtio-blk.c hw/vmapple/virtio-blk: Add support for apple virtio-blk 2025-03-04 14:45:34 +01:00
xen-block.c qapi: Move include/qapi/qmp/ to include/qobject/ 2025-02-10 15:33:16 +01:00
xen_blkif.h xen: Import other xen/io/*.h 2019-06-24 10:42:30 +01:00