qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 064/104] vhost-user: Print unexpected slave message types


From: Dr. David Alan Gilbert (git)
Subject: [PATCH 064/104] vhost-user: Print unexpected slave message types
Date: Thu, 12 Dec 2019 16:38:24 +0000

From: "Dr. David Alan Gilbert" <address@hidden>

When we receive an unexpected message type on the slave fd, print
the type.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
---
 hw/virtio/vhost-user.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/virtio/vhost-user.c b/hw/virtio/vhost-user.c
index 02a9b25199..33470c14b0 100644
--- a/hw/virtio/vhost-user.c
+++ b/hw/virtio/vhost-user.c
@@ -1055,7 +1055,7 @@ static void slave_read(void *opaque)
                                                           fd[0]);
         break;
     default:
-        error_report("Received unexpected msg type.");
+        error_report("Received unexpected msg type. (%d)", hdr.request);
         ret = -EINVAL;
     }
 
-- 
2.23.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]