opnsense-src/sys/dev/virtio
Mitchell Horne 6f5141456e vtblk: secondary fix for dumping
The code paths while dumping do not got through busdma. As such,
safeguard against calling bus_dmamap_sync() with a NULL map. The x86
implementation tolerates this but others do not, resulting in a
NULL dereference panic when dumping to a vtblk device on arm64, riscv,
etc.

Fixes:		782105f7c8 ("vtblk: Use busdma")
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D37990
2023-01-23 15:21:36 -04:00
..
balloon virtio: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:57 -07:00
block vtblk: secondary fix for dumping 2023-01-23 15:21:36 -04:00
console virtio: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:57 -07:00
mmio virtio_mmio: Support command-line parameters 2022-10-17 23:02:21 -07:00
network virtio: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:57 -07:00
pci virtio: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:57 -07:00
random virtio: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:57 -07:00
scsi virtio: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:57 -07:00
virtio.c virtio: make the write_config buffer argument const 2021-10-11 11:52:18 +01:00
virtio.h virtio: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:57 -07:00
virtio_bus_if.m virtio: make the write_config buffer argument const 2021-10-11 11:52:18 +01:00
virtio_config.h
virtio_endian.h virtio: Silence a -Wunused warning 2022-11-14 15:07:34 -05:00
virtio_ids.h
virtio_if.m
virtio_ring.h
virtqueue.c Add SDT probes virtqueue::enqueue_segments:{entry,return} 2021-08-27 13:08:59 -04:00
virtqueue.h virtio: Add modern (v1) virtqueue support 2021-01-19 04:55:23 +00:00