net/virtio-user: fail if cq used with packed vq
authorJens Freimann <jfreimann@redhat.com>
Mon, 17 Dec 2018 21:31:38 +0000 (22:31 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 21 Dec 2018 15:22:40 +0000 (16:22 +0100)
commit07dd7e250d0128bf1edfd73e9d83bde09cdb11e9
treeebc65b1672e0f256d3f04f2ba03f9d4bf09c0961
parent34f3966c7f81f947e9eebb347dec6a9f68eec4e6
net/virtio-user: fail if cq used with packed vq

Until we have support for control virtqueues let's disable it and
fail device initalization if specified as a parameter.

Signed-off-by: Jens Freimann <jfreimann@redhat.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/virtio/virtio_user/virtio_user_dev.c