git: virtio_blk - Respect VIRTIO_MAX_VIRTQUEUES limit (currently at 8) as well.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Tue Dec 23 13:25:31 PST 2025


commit 7f7e8e1dbe59ece0687062f6ea97a8de8bf5fb21
Author: Imre Vadász <imre at vdsz.com>
Date:   Tue Dec 23 22:00:46 2025 +0100

    virtio_blk - Respect VIRTIO_MAX_VIRTQUEUES limit (currently at 8) as well.
    
    * There is currently a hardcoded limit of VIRTIO_MAX_VIRTQUEUES virtqueues
      in the virtio_pci(4) driver's softc struct, that virtio_blk needs to
      respect for now.

Summary of changes:
 sys/dev/virtual/virtio/block/virtio_blk.c | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7f7e8e1dbe59ece0687062f6ea97a8de8bf5fb21


-- 
DragonFly BSD source repository


More information about the Commits mailing list