]> git.ipfire.org Git - thirdparty/qemu.git/commit
libvhost-user: support resuming vq->last_avail_idx based on used_idx
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 29 Aug 2017 15:27:50 +0000 (17:27 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 19 Sep 2017 22:48:27 +0000 (17:48 -0500)
commit48f65ce837250f327bcfa04977b72b72f43f232c
treef1d9c6b0bb4a3ddd7481dc853ae2bbb8bdb2094c
parentb95fbe6f122af9992a016a620477c6e7f1cc383a
libvhost-user: support resuming vq->last_avail_idx based on used_idx

This is the same workaround as commit 523b018dde3b765, which was lost
with libvhost-user transition in commit e10e798c85c2331.

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>
(cherry picked from commit 35480cbfcb73143af66c8de4b444d686a46c2e88)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
contrib/libvhost-user/libvhost-user.c
contrib/libvhost-user/libvhost-user.h