]> 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)
commitb5942e11d45ac1fe077e4b0973420c62b0b598a4
tree1dfcb6345f176193b0ec2f84db552f74761c3abb
parentedd6e8d86dadd231e3e2a66f36e5277463221b1e
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