Files
freebsd/sys/dev/virtio
Andrew Turner cbc2e34613 virtio_blk: Limit use of indirect descriptors
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 <[email protected]>
Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D50909
2025-06-23 13:55:24 +01:00
..
…
…
…
…
2025-06-11 17:39:02 +01:00
…
…