mirror of
https://github.com/opnsense/src.git
synced 2026-06-27 17:32:09 -04:00
Pass 0 as the number of indirect descriptors when they are not supported. This fixes an issue on the Arm FVP model where we don't negotiate them, however pass a number of segments greater than VIRTIO_MAX_INDIRECT. This leads to virtqueue_alloc failing and virtio_blk failing to attach. Reviewed by: Harry Moulton <harry.moulton@arm.com> Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D50909 |
||
|---|---|---|
| .. | ||
| virtio_blk.c | ||
| virtio_blk.h | ||