From 10b84535f87b85a2717378efbd79876d33d5ba39 Mon Sep 17 00:00:00 2001 From: Changpeng Liu Date: Wed, 18 Dec 2019 23:56:00 -0500 Subject: [PATCH] virtio_user: add missed socket protocol debug messages We do sent the two missed socket messages when running virtio_user. Change-Id: Ie19fccf6414c2aa42b70fecb6ba02b2a1ee46dd5 Signed-off-by: Changpeng Liu Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/478408 Tested-by: SPDK CI Jenkins Reviewed-by: Shuhei Matsumoto Reviewed-by: Jim Harris Reviewed-by: Paul Luse --- lib/virtio/virtio_user/vhost_user.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/virtio/virtio_user/vhost_user.c b/lib/virtio/virtio_user/vhost_user.c index cce8ea0b5..e84abec9c 100644 --- a/lib/virtio/virtio_user/vhost_user.c +++ b/lib/virtio/virtio_user/vhost_user.c @@ -261,6 +261,8 @@ static const char *const vhost_msg_strings[VHOST_USER_MAX] = { [VHOST_USER_SET_FEATURES] = "VHOST_SET_FEATURES", [VHOST_USER_GET_FEATURES] = "VHOST_GET_FEATURES", [VHOST_USER_SET_VRING_CALL] = "VHOST_SET_VRING_CALL", + [VHOST_USER_GET_PROTOCOL_FEATURES] = "VHOST_USER_GET_PROTOCOL_FEATURES", + [VHOST_USER_SET_PROTOCOL_FEATURES] = "VHOST_USER_SET_PROTOCOL_FEATURES", [VHOST_USER_SET_VRING_NUM] = "VHOST_SET_VRING_NUM", [VHOST_USER_SET_VRING_BASE] = "VHOST_SET_VRING_BASE", [VHOST_USER_GET_VRING_BASE] = "VHOST_GET_VRING_BASE",