hw/virtio: incorporate backend features in features
commit02b61f38d3574900fb4cc4c450b17c75956a6a04
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 2 Aug 2022 09:49:49 +0000 (2 10:49 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 7 Oct 2022 13:41:51 +0000 (7 09:41 -0400)
treeb49d71c03a39d9db0280babb066a0f2f02a3ebf9
parentf1d33f55c47dfdaf8daacd618588ad3ae4c452d1
hw/virtio: incorporate backend features in features

There are some extra bits used over a vhost-user connection which are
hidden from the device itself. We need to set them here to ensure we
enable things like the protocol extensions.

Currently net/vhost-user.c has it's own inscrutable way of persisting
this data but it really should live in the core vhost_user code.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20220726192150.2435175-7-alex.bennee@linaro.org>
Message-Id: <20220802095010.3330793-2-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>
hw/virtio/vhost-user.c