* [PATCH] vhost-user: add missing space in error message
@ 2021-08-06 14:39 Alyssa Ross
2021-08-06 15:28 ` Laurent Vivier
0 siblings, 1 reply; 2+ messages in thread
From: Alyssa Ross @ 2021-08-06 14:39 UTC (permalink / raw)
To: qemu-devel; +Cc: qemu-trivial, Michael S. Tsirkin
This would previously give error messages like
> Received unexpected msg type.Expected 0 received 1
Signed-off-by: Alyssa Ross <hi@alyssa.is>
---
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 29ea2b4fce..ad9fc40271 100644
--- a/hw/virtio/vhost-user.c
+++ b/hw/virtio/vhost-user.c
@@ -429,7 +429,7 @@ static int process_message_reply(struct vhost_dev *dev,
}
if (msg_reply.hdr.request != msg->hdr.request) {
- error_report("Received unexpected msg type."
+ error_report("Received unexpected msg type. "
"Expected %d received %d",
msg->hdr.request, msg_reply.hdr.request);
return -1;
base-commit: bccabb3a5d60182645c7749e89f21a9ff307a9eb
--
2.32.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] vhost-user: add missing space in error message
2021-08-06 14:39 [PATCH] vhost-user: add missing space in error message Alyssa Ross
@ 2021-08-06 15:28 ` Laurent Vivier
0 siblings, 0 replies; 2+ messages in thread
From: Laurent Vivier @ 2021-08-06 15:28 UTC (permalink / raw)
To: Alyssa Ross, qemu-devel; +Cc: qemu-trivial, Michael S. Tsirkin
Le 06/08/2021 à 16:39, Alyssa Ross a écrit :
> This would previously give error messages like
>
>> Received unexpected msg type.Expected 0 received 1
>
> Signed-off-by: Alyssa Ross <hi@alyssa.is>
> ---
> 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 29ea2b4fce..ad9fc40271 100644
> --- a/hw/virtio/vhost-user.c
> +++ b/hw/virtio/vhost-user.c
> @@ -429,7 +429,7 @@ static int process_message_reply(struct vhost_dev *dev,
> }
>
> if (msg_reply.hdr.request != msg->hdr.request) {
> - error_report("Received unexpected msg type."
> + error_report("Received unexpected msg type. "
> "Expected %d received %d",
> msg->hdr.request, msg_reply.hdr.request);
> return -1;
>
> base-commit: bccabb3a5d60182645c7749e89f21a9ff307a9eb
>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-08-06 15:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-06 14:39 [PATCH] vhost-user: add missing space in error message Alyssa Ross
2021-08-06 15:28 ` Laurent Vivier
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.