Skip to content

monitor: do not rely on O_NONBLOCK for passed file descriptors

Stefan Hajnoczi qemu-devel 2 versions Applied

Status from this message: Applied to the 1.4.1 staging tree:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 3 repliesApplied
  2. v14 patches 3 repliesSuperseded

Changes in v2 from the cover letter

* Use git cherry-pick -x and give rationale for conflict resolutions.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4oslib-posix: rename socket_set_nonblock() to qemu_set_nonblock()block/nbd.c block/sheepdog.c include/qemu/sockets.h +12 more+30 -300 replies
2/4net: ensure "socket" backend uses non-blocking fdsnet/socket.c+6 -10 replies
3/4qemu-socket: set passed fd non-blocking in socket_connect()util/qemu-sockets.c+1 -00 replies
4/4chardev: clear O_NONBLOCK on SCM_RIGHTS file descriptorsqemu-char.c+3 -00 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLuiz Capitulino
SeriesR-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH stable-1.4 v2 0/4] monitor: do not rely on O_NONBLOCK for passed file descriptors

Backported to QEMU 1.4 stable branch.

Original series:
http://lists.nongnu.org/archive/html/qemu-devel/2013-03/msg04756.html

v2:
* Use git cherry-pick -x and give rationale for conflict resolutions.

Stefan Hajnoczi (4):
oslib-posix: rename socket_set_nonblock() to qemu_set_nonblock()
net: ensure "socket" backend uses non-blocking fds
qemu-socket: set passed fd non-blocking in socket_connect()
chardev: clear O_NONBLOCK on SCM_RIGHTS file descriptors

 block/nbd.c            |  2 +-
 block/sheepdog.c       |  6 +++---
 include/qemu/sockets.h |  4 ++--
 migration-tcp.c        |  2 +-
 migration-unix.c       |  2 +-
 migration.c            |  2 +-
 nbd.c                  |  8 ++++----
 net/socket.c           | 13 +++++++++----
 qemu-char.c            | 11 +++++++----
 slirp/misc.c           |  2 +-
 slirp/tcp_subr.c       |  4 ++--
 ui/vnc.c               |  2 +-
 util/oslib-posix.c     |  4 ++--
 util/oslib-win32.c     |  4 ++--
 util/qemu-sockets.c    |  5 +++--
 15 files changed, 40 insertions(+), 31 deletions(-)
Signature · 1 line
1.8.1.4