vhost-user: start/stop all rings
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 16 Nov 2015 16:40:18 +0000 (18:40 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 16 Nov 2015 16:48:31 +0000 (18:48 +0200)
commitdc3db6adde329548771ab2addc2ef8376b2b8b32
treea01b35bc76650e4a2951cf4dfeb348cb6eadeeae
parent5421f318ecc82294ad089fd54924df787b67c971
vhost-user: start/stop all rings

We are currently only sending VRING_ENABLE message for the first ring,
that's wrong: we must start/stop them all.

Reported-by: Victor Kaplansky <victork@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/vhost-user.c