[Qemu-devel] [PATCH v4] qemu-char: Fix missed data on unix socket

2015-07-19 Thread pyssling
From: Nils Carlson Commit 812c1057 introduced HUP detection on unix and tcp sockets prior to a read in tcp_chr_read. This unfortunately broke CloudStack 4.2 which relied on the old behaviour where data on a socket was readable even if a HUP was present. A working solution is to properly check th

[Qemu-devel] [PATCH v3] qemu-char: Fix missed data on unix socket

2015-07-17 Thread pyssling
From: Nils Carlson Commit 812c1057 introduced HUP detection on unix and tcp sockets prior to a read in tcp_chr_read. This unfortunately broke CloudStack 4.2 which relied on the old behaviour where data on a socket was readable even if a HUP was present. A working solution seems to be to simply c

[Qemu-devel] [PATCH v2] qemu-char: Fix missed data on unix socket

2015-07-15 Thread pyssling
From: Nils Carlson Commit 812c1057 introduced HUP detection on unix and tcp sockets prior to a read in tcp_chr_read. This unfortunately broke CloudStack 4.2 which relied on the old behaviour where data on a socket was readable even if a HUP was present. On Linux a working solution seems to be to

[Qemu-devel] [PATCH] qemu-char: Fix missed data on unix socket

2015-07-13 Thread pyssling
From: Nils Carlson Commit 812c1057 introduced HUP detection on unix and tcp sockets prior to a read in tcp_chr_read. This unfortunately broke CloudStack 4.2 which relied on the old behaviour where data on a socket was readable even if a HUP was present. On Linux a working solution seems to be to