Skip to content

Commit 1e3d4d9

Browse files
vivierMichael Tokarev
authored andcommitted
qmp: update vhost-user protocol feature maps
Add VHOST_USER_PROTOCOL_F_SHARED_OBJECT and VHOST_USER_PROTOCOL_F_DEVICE_STATE protocol feature maps to the virtio introspection. Cc: [email protected] Fixes: 1609476 ("vhost-user: add shared_object msg") Cc: [email protected] Fixes: cda83ad ("vhost-user: Interface for migration state transfer") Cc: [email protected] Signed-off-by: Laurent Vivier <[email protected]> Signed-off-by: Michael Tokarev <[email protected]>
1 parent 8ee904b commit 1e3d4d9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

hw/virtio/virtio-qmp.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,12 @@ static const qmp_virtio_feature_map_t vhost_user_protocol_map[] = {
121121
FEATURE_ENTRY(VHOST_USER_PROTOCOL_F_STATUS, \
122122
"VHOST_USER_PROTOCOL_F_STATUS: Querying and notifying back-end "
123123
"device status supported"),
124+
FEATURE_ENTRY(VHOST_USER_PROTOCOL_F_SHARED_OBJECT, \
125+
"VHOST_USER_PROTOCOL_F_SHARED_OBJECT: Backend shared object "
126+
"supported"),
127+
FEATURE_ENTRY(VHOST_USER_PROTOCOL_F_DEVICE_STATE, \
128+
"VHOST_USER_PROTOCOL_F_DEVICE_STATE: Backend device state transfer "
129+
"supported"),
124130
{ -1, "" }
125131
};
126132

0 commit comments

Comments
 (0)