qemu-cr16/hw/block
Chandan Somani 9f0c763e16 block: enable stats-intervals for storage devices
This patch allows stats-intervals to be used for storage
devices with the -device option. It accepts a list of interval
lengths in JSON format.

It configures and collects the stats in the BlockBackend layer
through the storage device that consumes the BlockBackend.

Signed-off-by: Chandan Somani <csomani@redhat.com>
Message-ID: <20251003220039.1336663-1-csomani@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2025-10-29 12:10:09 +01:00
..
dataplane include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
block.c block: enable stats-intervals for storage devices 2025-10-29 12:10:09 +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 qom: Make InterfaceInfo[] uses const 2025-04-25 17:00:41 +02:00
fdc-sysbus.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
fdc.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
hd-geometry.c qemu: Declare all load/store helper in 'qemu/bswap.h' 2025-07-15 02:56:39 -04:00
Kconfig hw/block: Drop unused nand.c 2025-05-29 17:45:13 +01:00
m25p80.c qom: Constify TypeInfo::class_data 2025-04-25 17:00:41 +02: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/virtio: Build various files once 2025-07-15 02:56:39 -04:00
pflash_cfi01.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
pflash_cfi02.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
swim.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02: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 vhost-user-blk: add an option to skip GET_VRING_BASE for force shutdown 2025-07-14 09:16:40 -04: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 virtio: unify virtio_notify_irqfd() and virtio_notify() 2025-10-05 09:01:08 -04:00
xen-block.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
xen_blkif.h xen: Import other xen/io/*.h 2019-06-24 10:42:30 +01:00