]> git.ipfire.org Git - thirdparty/qemu.git/commit
vhost: add support for negotiating extended features
authorPaolo Abeni <pabeni@redhat.com>
Mon, 22 Sep 2025 14:18:22 +0000 (16:18 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 4 Oct 2025 14:50:37 +0000 (10:50 -0400)
commit9f979ef0e01a2dd47d167c482a9e2d1dcdff2d3f
tree2f0216bf3390233afd30ad13c439ff75d34fff5f
parent712c79d6d374e7abe94599de5ba2d155d5a79955
vhost: add support for negotiating extended features

Similar to virtio infra, vhost core maintains the features status
in the full extended format and allows the devices to implement
extended version of the getter/setter.

Note that 'protocol_features' are not extended: they are only
used by vhost-user, and the latter device is not going to implement
extended features soon.

Reviewed-by: Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>
Acked-by: Jason Wang <jasowang@redhat.com>
Acked-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Tested-by: Lei Yang <leiyang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <a0062c3b1847fb2baedd6cd8f6ef13b051d6beb2.1758549625.git.pabeni@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/vhost.c
include/hw/virtio/vhost-backend.h
include/hw/virtio/vhost.h