summary refs log tree commit diff stats
path: root/qapi
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2016-03-15 19:34:44 +0100
committerMarkus Armbruster <armbru@redhat.com>2016-03-21 21:29:01 +0100
commitee276391a38c784fd1a3ce33eab0481348d518d1 (patch)
tree23e8548a5837d6001bbcc39de825d0517278b83c /qapi
parentba5970a178ef927c34cb8a6dfff54de0a58497c6 (diff)
downloadfocaccia-qemu-ee276391a38c784fd1a3ce33eab0481348d518d1.tar.gz
focaccia-qemu-ee276391a38c784fd1a3ce33eab0481348d518d1.zip
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 'qapi')
0 files changed, 0 insertions, 0 deletions