vhost-user-bridge: fix resume regression (since 2.9)
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 29 Aug 2017 15:27:51 +0000 (17:27 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 8 Sep 2017 13:15:17 +0000 (16:15 +0300)
commit672339f7eff5e9226f302037290e84e783d2b5cd
tree798b74e3ca1a73b9421278182cc46858f7a5794c
parent35480cbfcb73143af66c8de4b444d686a46c2e88
vhost-user-bridge: fix resume regression (since 2.9)

Commit e10e798c85c2331 switched to libvhost-user which lacked support
for resuming the avail_idx based on used_idx.

Fixes:
https://bugzilla.redhat.com/show_bug.cgi?id=1485867

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tests/vhost-user-bridge.c