qemu-e2k/contrib
Stefan Hajnoczi a9a5c473d2 libvhost-user: advertise vring features
libvhost-user implements several vring features without advertising
them. There is no way for the vhost-user master to detect support for
these features.

Things more or less work today because QEMU assumes the vhost-user
backend always implements certain feature bits like
VIRTIO_RING_F_EVENT_IDX. This is not documented anywhere.

This patch explicitly advertises features implemented in libvhost-user
so that the vhost-user master does not need to make undocumented
assumptions.

Feature bits that libvhost-user now advertises can be removed from
vhost-user-blk.c. Devices should not be responsible for advertising
vring feature bits, that is libvhost-user's job.

Cc: Marc-André Lureau <marcandre.lureau@redhat.com>
Cc: Jason Wang <jasowang@redhat.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20200529161338.456017-1-stefanha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2020-06-12 10:17:06 -04:00
..
elf2dmp contrib/elf2dmp: Build download.o with CURL_CFLAGS 2019-07-22 14:07:39 +01:00
gitdm contrib/gitdm: add China Mobile to the domain map 2019-10-27 19:16:30 +00:00
ivshmem-client Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
ivshmem-server ivshmem-server: Terminate also on SIGINT 2019-11-12 10:37:20 +01:00
libvhost-user libvhost-user: advertise vring features 2020-06-12 10:17:06 -04:00
rdmacm-mux contrib/rdmacm-mux: Remove superfluous semicolon 2020-02-18 20:20:49 +01:00
systemd
vhost-user-blk libvhost-user: advertise vring features 2020-06-12 10:17:06 -04:00
vhost-user-gpu vhost-user-gpu: Release memory returned by vu_queue_pop() with free() 2020-04-15 19:00:39 +01:00
vhost-user-input libvhost-user-glib: fix VugDev main fd cleanup 2020-02-27 03:46:10 -05:00
vhost-user-scsi vhost-user-scsi: fix printf format warning 2019-12-17 19:32:47 +01:00