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

2015-07-23 Thread Paolo Bonzini
On 23/07/2015 10:24, Nils Carlson wrote: > Any luck with this fixup? Let me know if you need anything more from me, > code or testing. Just busy, I'll send a pull request today or tomorrow. Paolo

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

2015-07-23 Thread Nils Carlson
On Tue, 21 Jul 2015, Paolo Bonzini wrote: On 19/07/2015 22:39, pyssl...@ludd.ltu.se wrote: 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 dat

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

2015-07-21 Thread Paolo Bonzini
On 19/07/2015 22:39, pyssl...@ludd.ltu.se wrote: > 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

[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