[PATCH v4 6/9] qmp: add shmem feature map

Albert Esteve posted 9 patches 1 month, 2 weeks ago
[PATCH v4 6/9] qmp: add shmem feature map
Posted by Albert Esteve 1 month, 2 weeks ago
Add new vhost-user protocol
VHOST_USER_PROTOCOL_F_SHMEM feature to
feature map.

Signed-off-by: Albert Esteve <aesteve@redhat.com>
---
 hw/virtio/virtio-qmp.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/hw/virtio/virtio-qmp.c b/hw/virtio/virtio-qmp.c
index 3b6377cf0d..8c2cfd0916 100644
--- a/hw/virtio/virtio-qmp.c
+++ b/hw/virtio/virtio-qmp.c
@@ -127,6 +127,9 @@ static const qmp_virtio_feature_map_t vhost_user_protocol_map[] = {
     FEATURE_ENTRY(VHOST_USER_PROTOCOL_F_DEVICE_STATE, \
             "VHOST_USER_PROTOCOL_F_DEVICE_STATE: Backend device state transfer "
             "supported"),
+    FEATURE_ENTRY(VHOST_USER_PROTOCOL_F_SHMEM, \
+                "VHOST_USER_PROTOCOL_F_SHMEM: Backend shared memory mapping "
+                "supported"),
     { -1, "" }
 };
 
-- 
2.48.1
Re: [PATCH v4 6/9] qmp: add shmem feature map
Posted by Stefan Hajnoczi 1 month, 2 weeks ago
On Mon, Feb 17, 2025 at 05:40:09PM +0100, Albert Esteve wrote:
> Add new vhost-user protocol
> VHOST_USER_PROTOCOL_F_SHMEM feature to
> feature map.
> 
> Signed-off-by: Albert Esteve <aesteve@redhat.com>
> ---
>  hw/virtio/virtio-qmp.c | 3 +++
>  1 file changed, 3 insertions(+)

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>