All of lore.kernel.org
 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; 9+ 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] 9+ messages in thread

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

Thread overview: 9+ 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
2026-07-31 22:24   ` sashiko-bot
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
2026-07-31 22:26   ` sashiko-bot
2026-07-31 23:31     ` Dongli Zhang
2026-08-01  0:00   ` Michael S. Tsirkin
2026-08-01  6:59     ` Dongli Zhang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.