[PATCH 0/2] vhost-scsi: fix max_io_vqs handling
Dongli Zhang <[email protected]> Fri, 31 Jul 2026 15:10:22 -0700
| Newsgroups | dev.linux.lists.virtualization,org.kernel.vger.kvm |
|---|---|
| Message-ID | <[email protected]> |
Avoid high-order kmalloc() allocations for the vhost-scsi virtqueue array, and reject invalid max_io_vqs updates so the stored value remains within the supported range. Dongli Zhang (2): vhost-scsi: use kvzalloc for vq array allocation vhost-scsi: reject invalid max_io_vqs module parameter drivers/vhost/scsi.c | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) base-commit: 8ba098e6b6ff0db8edf28528d1552be261af30d4 Thank you very much! Dongli Zhang