Re: [PATCH 2/2] virtio-pci: check name when counting MSI-X vectors

2019-12-18 Thread Cornelia Huck
On Tue, 17 Dec 2019 11:06:10 -0800 Daniel Verkamp wrote: > VQs without a name specified are not valid; they are skipped in the > later loop that assigns MSI-X vectors to queues, but the per_vq_vectors > loop above that counts the required number of vectors previously still > counted any queue

Re: [PATCH 2/2] virtio-pci: check name when counting MSI-X vectors

2019-12-17 Thread Michael S. Tsirkin
On Tue, Dec 17, 2019 at 11:06:10AM -0800, Daniel Verkamp wrote: > VQs without a name specified are not valid; they are skipped in the > later loop that assigns MSI-X vectors to queues, but the per_vq_vectors > loop above that counts the required number of vectors previously still > counted any

Re: [PATCH 2/2] virtio-pci: check name when counting MSI-X vectors

2019-12-17 Thread Michael S. Tsirkin
On Tue, Dec 17, 2019 at 11:06:10AM -0800, Daniel Verkamp wrote: > VQs without a name specified are not valid; they are skipped in the > later loop that assigns MSI-X vectors to queues, but the per_vq_vectors > loop above that counts the required number of vectors previously still > counted any

[PATCH 2/2] virtio-pci: check name when counting MSI-X vectors

2019-12-17 Thread Daniel Verkamp
VQs without a name specified are not valid; they are skipped in the later loop that assigns MSI-X vectors to queues, but the per_vq_vectors loop above that counts the required number of vectors previously still counted any queue with a non-NULL callback as needing a vector. Add a check to the