Re: [PATCH RESEND v3 2/4] virtio-scsi: default num_queues to -smp N

2020-03-20 Thread Cornelia Huck
On Fri, 20 Mar 2020 10:30:39 + Stefan Hajnoczi wrote: > Automatically size the number of virtio-scsi-pci, vhost-scsi-pci, and > vhost-user-scsi-pci request virtqueues to match the number of vCPUs. > Other transports continue to default to 1 request virtqueue. > > A 1:1 virtqueue:vCPU mapping

[PATCH RESEND v3 2/4] virtio-scsi: default num_queues to -smp N

2020-03-20 Thread Stefan Hajnoczi
Automatically size the number of virtio-scsi-pci, vhost-scsi-pci, and vhost-user-scsi-pci request virtqueues to match the number of vCPUs. Other transports continue to default to 1 request virtqueue. A 1:1 virtqueue:vCPU mapping ensures that completion interrupts are handled on the same vCPU that