Linux virtualization list
 help / color / mirror / Atom feed
* [PATCH 0/2] vhost-scsi: fix max_io_vqs handling
@ 2026-07-31 22:10 Dongli Zhang
  2026-07-31 22:10 ` [PATCH 1/2] vhost-scsi: use kvzalloc for vq array allocation Dongli Zhang
  2026-07-31 22:10 ` [PATCH 2/2] vhost-scsi: reject invalid max_io_vqs module parameter Dongli Zhang
  0 siblings, 2 replies; 6+ messages in thread
From: Dongli Zhang @ 2026-07-31 22:10 UTC (permalink / raw)
  To: virtualization
  Cc: mst, jasowangio, michael.christie, pbonzini, stefanha, eperezma,
	kvm, joe.jin

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-08-01  0:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-31 22:10 [PATCH 0/2] vhost-scsi: fix max_io_vqs handling Dongli Zhang
2026-07-31 22:10 ` [PATCH 1/2] vhost-scsi: use kvzalloc for vq array allocation Dongli Zhang
     [not found]   ` <20260731222400.8AC7D1F00AC4@smtp.kernel.org>
2026-07-31 23:23     ` Dongli Zhang
2026-07-31 22:10 ` [PATCH 2/2] vhost-scsi: reject invalid max_io_vqs module parameter Dongli Zhang
     [not found]   ` <20260731222633.15DE01F00AC4@smtp.kernel.org>
2026-07-31 23:31     ` Dongli Zhang
2026-08-01  0:00   ` Michael S. Tsirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox