]> git.proxmox.com Git - mirror_qemu.git/commit
vhost-user: verify that number of queues is less than MAX_QUEUE_NUM
authorIlya Maximets <i.maximets@samsung.com>
Wed, 24 Feb 2016 10:44:34 +0000 (13:44 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 11 Mar 2016 12:55:15 +0000 (14:55 +0200)
commitfff4e48ed54cc39e5942921df91300646ad37707
treedbfe119c107fac30f6160e1d211b860d48d733e1
parenta0d06486b445985b8d128df172daefbae205bffd
vhost-user: verify that number of queues is less than MAX_QUEUE_NUM

Fix QEMU crash when -netdev vhost-user,queues=n is passed with number
of queues greater than MAX_QUEUE_NUM.

Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
net/vhost-user.c