net/virtio-user: support reply-ack
authorMaxime Coquelin <maxime.coquelin@redhat.com>
Fri, 3 Jul 2020 15:57:27 +0000 (17:57 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sat, 11 Jul 2020 04:18:52 +0000 (06:18 +0200)
commitc60208dd638477c2ab5340aaaec8eee291c2985b
treedcc98e25ee868a299a8351eecd4847b648282d75
parent8e7561054ac734638eee3a374d4ebacea57b4316
net/virtio-user: support reply-ack

This patch adds support reply-ack vhost-user protocol
feature, which is for now only used to ensure
VHOST_USER_SET_MEM_TABLE requests are handled by the
slave, but later will be used for VHOST_USER_SET_STATUS.

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
drivers/net/virtio/virtio_user/vhost.h
drivers/net/virtio/virtio_user/vhost_user.c
drivers/net/virtio/virtio_user/virtio_user_dev.c