Skip to content

Commit

Permalink
vhost-user: Print unexpected slave message types
Browse files Browse the repository at this point in the history
When we receive an unexpected message type on the slave fd, print
the type.

Signed-off-by: Dr. David Alan Gilbert <[email protected]>
Reviewed-by: Daniel P. Berrangé <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Dr. David Alan Gilbert <[email protected]>
  • Loading branch information
dagrh committed Jan 23, 2020
1 parent 10477ac commit 0fdc465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/virtio/vhost-user.c
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,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;
}

Expand Down

0 comments on commit 0fdc465

Please sign in to comment.