qmp: add shmem feature map
Add new vhost-user protocol VHOST_USER_PROTOCOL_F_SHMEM feature to feature map. Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Albert Esteve <aesteve@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Message-Id: <20260304165223.2166175-7-aesteve@redhat.com>
Albert Esteve committed
Mar 4, 2026 at 17:52 UTC
0578926e3a6ddaf011f00e41ee7e490b446518eb
1 file changed
+3
hw/virtio/virtio-qmp.c
+3
@@ -123,6 +123,9 @@ static const qmp_virtio_feature_map_t vhost_user_protocol_map[] = {
123
FEATURE_ENTRY(VHOST_USER_PROTOCOL_F_DEVICE_STATE, \
124
"VHOST_USER_PROTOCOL_F_DEVICE_STATE: Backend device state transfer "
125
"supported"),
126
+ FEATURE_ENTRY(VHOST_USER_PROTOCOL_F_SHMEM, \
127
+ "VHOST_USER_PROTOCOL_F_SHMEM: Backend shared memory mapping "
128
+ "supported"),
129
{ -1, "" }
130
};
131