diff options
author | Markus Armbruster <armbru@redhat.com> | 2016-03-15 19:34:44 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2016-03-21 21:29:01 +0100 |
commit | ee276391a38c784fd1a3ce33eab0481348d518d1 (patch) | |
tree | 23e8548a5837d6001bbcc39de825d0517278b83c /target-m68k/translate.c | |
parent | ba5970a178ef927c34cb8a6dfff54de0a58497c6 (diff) |
ivshmem: Simplify how we cope with short reads from server
Short reads from a UNIX domain sockets are exceedingly unlikely when
the other side always sends eight bytes and we always read eight
bytes. We cope with them anyway. However, the code doing that is
rather convoluted. Dumb it down radically.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <1458066895-20632-30-git-send-email-armbru@redhat.com>
Diffstat (limited to 'target-m68k/translate.c')
0 files changed, 0 insertions, 0 deletions