libvhost-user: implement VHOST_USER_PROTOCOL_F_REPLY_ACK
commit8899d60142e790debe1604a89d0028ba1740d8e9
authorJohannes Berg <johannes.berg@intel.com>
Thu, 23 Jan 2020 08:17:03 +0000 (23 09:17 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 27 Feb 2020 08:46:10 +0000 (27 03:46 -0500)
tree9531cdd9589932ce4b9216416b6b948bcc9a504a
parentc1dee918799391980dbde12ee60fbd0189f367f8
libvhost-user: implement VHOST_USER_PROTOCOL_F_REPLY_ACK

This is really simple, since we know whether a response is
already requested or not, so we can just send a (successful)
response when there isn't one already.

Given that, it's not all _that_ useful but the master can at
least be sure the message was processed, and we can exercise
more code paths using the example code.

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Message-Id: <20200123081708.7817-2-johannes@sipsolutions.net>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
contrib/libvhost-user/libvhost-user.c