[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 11/11] qmp: update vhost-user protocol feature maps
From: |
Michael Tokarev |
Subject: |
[PULL 11/11] qmp: update vhost-user protocol feature maps |
Date: |
Sat, 28 Dec 2024 14:54:46 +0300 |
From: Laurent Vivier <lvivier@redhat.com>
Add VHOST_USER_PROTOCOL_F_SHARED_OBJECT and
VHOST_USER_PROTOCOL_F_DEVICE_STATE protocol feature maps to
the virtio introspection.
Cc: jonah.palmer@oracle.com
Fixes: 160947666276 ("vhost-user: add shared_object msg")
Cc: aesteve@redhat.com
Fixes: cda83adc62b6 ("vhost-user: Interface for migration state transfer")
Cc: hreitz@redhat.com
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
hw/virtio/virtio-qmp.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/hw/virtio/virtio-qmp.c b/hw/virtio/virtio-qmp.c
index cccc6fe761..8a32a3b105 100644
--- a/hw/virtio/virtio-qmp.c
+++ b/hw/virtio/virtio-qmp.c
@@ -121,6 +121,12 @@ static const qmp_virtio_feature_map_t
vhost_user_protocol_map[] = {
FEATURE_ENTRY(VHOST_USER_PROTOCOL_F_STATUS, \
"VHOST_USER_PROTOCOL_F_STATUS: Querying and notifying back-end "
"device status supported"),
+ FEATURE_ENTRY(VHOST_USER_PROTOCOL_F_SHARED_OBJECT, \
+ "VHOST_USER_PROTOCOL_F_SHARED_OBJECT: Backend shared object "
+ "supported"),
+ FEATURE_ENTRY(VHOST_USER_PROTOCOL_F_DEVICE_STATE, \
+ "VHOST_USER_PROTOCOL_F_DEVICE_STATE: Backend device state transfer
"
+ "supported"),
{ -1, "" }
};
--
2.39.5
- [PULL 00/11] Trivial patches for 2024-12-28, Michael Tokarev, 2024/12/28
- [PULL 01/11] docs/devel: remove dead video link for sourcehut submit process, Michael Tokarev, 2024/12/28
- [PULL 02/11] hw/timer/hpet: Fix comment about capabilities register, Michael Tokarev, 2024/12/28
- [PULL 05/11] docs: Correct '-runas' and '-fsdev/-virtfs proxy' indentation, Michael Tokarev, 2024/12/28
- [PULL 06/11] docs: Correct release of TCG trace-events removal, Michael Tokarev, 2024/12/28
- [PULL 09/11] hw/riscv/riscv-iommu-sys.c: fix duplicated 'table_size', Michael Tokarev, 2024/12/28
- [PULL 11/11] qmp: update vhost-user protocol feature maps,
Michael Tokarev <=
- [PULL 04/11] vvfat: fix ubsan issue in create_long_filename, Michael Tokarev, 2024/12/28
- [PULL 03/11] hw/timer/hpet: Drop the unused macro, Michael Tokarev, 2024/12/28
- [PULL 08/11] target/i386/cpu: Fix notes for CPU models, Michael Tokarev, 2024/12/28
- [PULL 07/11] docs: Replace 'since' -> 'removed in' in removed-features.rst, Michael Tokarev, 2024/12/28
- [PULL 10/11] contrib/plugins/bbv.c: Start bb index from 1, Michael Tokarev, 2024/12/28
- Re: [PULL 00/11] Trivial patches for 2024-12-28, Stefan Hajnoczi, 2024/12/28