Skip to content

Fixing non-blocking operation of chardevs

Daniel P. Berrange qemu-devel 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v12 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- Also fix qemu_chr_fe_write_log method

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2char: fix broken EAGAIN retry on OS-X due to errno clobberingqemu-char.c+18 -180 replies
2/2char: ensure all clients are in non-blocking modeqemu-char.c+2 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/2] Fixing non-blocking operation of chardevs

This fixes socket chardevs to always be in non-blocking mode, as they were before the QIOChannel conversion. The second patch was already posted before, but dropped when Peter discovered a problem on OS-X causing ahci-test to hang:

https://lists.gnu.org/archive/html/qemu-devel/2016-03/msg05807.html

I traced this down to broken EAGAIN handling affecting OS-X, hence the first patch in this series.

Changed in v2:

- Also fix qemu_chr_fe_write_log method

Daniel P. Berrange (2):
char: fix broken EAGAIN retry on OS-X due to errno clobbering
char: ensure all clients are in non-blocking mode

 qemu-char.c | 39 ++++++++++++++++++++-------------------
 1 file changed, 20 insertions(+), 19 deletions(-)
Signature · 1 line
2.5.5