include/hw: document vhost_dev feature life-cycle
commitc7066f2d30d6d9c7f83cf741afb2f489e0cdd16d
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 2 Aug 2022 09:49:54 +0000 (2 10:49 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 7 Oct 2022 13:41:51 +0000 (7 09:41 -0400)
tree1c50b71a5981b0524f78f766c36b1b48ce854f41
parentea5d6ea7788c83216547fe72874033d4bf693182
include/hw: document vhost_dev feature life-cycle

Try and explicitly document the various state of feature bits as
related to the vhost_dev structure. Importantly the backend_features
can advertise things like VHOST_USER_F_PROTOCOL_FEATURES which is
never exposed to the driver and is only present in the vhost-user
feature negotiation.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20220802095010.3330793-7-alex.bennee@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
include/hw/virtio/vhost.h