]> git.baikalelectronics.ru Git - kernel.git/commit
vhost scsi: Allow user to control num virtqueues
authorMike Christie <michael.christie@oracle.com>
Fri, 8 Jul 2022 03:05:25 +0000 (22:05 -0500)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 11 Aug 2022 08:26:08 +0000 (04:26 -0400)
commit204b03da8474a5370e314d6a83ebb2100917d546
tree1dfcb6345f176193b0ec2f84db552f74761c3abb
parent6c860e7ca3ffceac94b30c023b854d9ce1256857
vhost scsi: Allow user to control num virtqueues

We are currently hard coded to always create 128 IO virtqueues, so this
adds a modparam to control it. For large systems where we are ok with
using memory for virtqueues it allows us to add up to 1024. This limit
was just selected becuase that's qemu's limit.

Signed-off-by: Mike Christie <michael.christie@oracle.com>
Message-Id: <20220708030525.5065-3-michael.christie@oracle.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
drivers/vhost/scsi.c